-
Notifications
You must be signed in to change notification settings - Fork 645
Closed
Description
Looking at @primer/components on bundlephobia, it's massive (40kB min+gzip), and a big part of that is the @d3/shape dependency that is in the core bundle due to being used in the Donut component.
We will most likely not end up using the Donut component, so shipping all that code is a bit of a pain. Is there any chance that the d3 dependency could maybe be loaded asynchronously when needed or that the Donut component gets put into its own bundle?
EDIT: Found a workaround in #456 by importing specific components. It would still be good to see this solved by default.
Metadata
Metadata
Assignees
Labels
No labels