-
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
refactor(react): revert rollup ESM and CJS entrypoints #5444
refactor(react): revert rollup ESM and CJS entrypoints #5444
Conversation
Deploy preview for carbon-components-react ready! Built with commit b7c4b7f https://deploy-preview-5444--carbon-components-react.netlify.com |
Deploy preview for carbon-elements ready! Built with commit b7c4b7f |
Deploy preview for carbon-components-react ready! Built with commit 0102c2e https://deploy-preview-5444--carbon-components-react.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 0102c2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 - Thanks @joshblack!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏻
This PR reverts our rollup changes that generated an entrypoint for ESM and CJS. The issues are documented over in: #5442
Changelog
New
Changed
rollup.config.js
no longer outputs ESM and CJS entrypointsRemoved
Testing / Reviewing
react
es/index.js
andlib/index.js
no longer are flat bundles and instead export components from relative paths