-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate tree-shaking opportunities for carbon-components #4881
Comments
any news on this one? |
Hi @theskillwithin! 👋 In our next major release, we will remove the dependency on |
@joshblack is there an issue to track progress of removing carbon-components?
|
Hey there @enagorny! Currently, this is tracking for our 2021 Release: https://medium.com/carbondesign/whats-coming-to-carbon-in-2021-39a4c7d1762a We don't have an umbrella issue yet for this release but when we finalize it we'll make sure it's a pinned issue 👍 |
Does this mean that for example if we use just one component from Carbon, the rest won't be auto-included either? |
@jayarjo by default, this should be the case for This issue originally came up when vanilla JS files from Hope this helps! |
We use only a small set of functionality from
carbon-components
incarbon-components-react
, specificallysettings.prefix
, but unfortunately are unable to tree-shake unused parts of vanilla components. This issue is to investigate why and address why these modules are unable to be DCE'd.The text was updated successfully, but these errors were encountered: