-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
breaking: drop support for ES, UMD formats #991
base: master
Are you sure you want to change the base?
Conversation
FYI there's a feature request in SvelteKit which would enable also bundling to ESM/UMD: sveltejs/kit#2572 . There are valid cases where you would want people to be able to use your library standalone. If that's the case for |
@dummdidumm Thank you for the info! Good to know that there are potential use cases for the bundled code. |
6f65b2d
to
8f499c8
Compare
e7485c4
to
417102d
Compare
Fixes #896, fixes #1427
This PR drops support for the compiled ES, UMD formats. Instead, only the uncompiled Svelte source code will be shipped.
This should have no impact for users of Vite/SvelteKit/Webpack/Rollup. This solves issues for set-ups that experience errors using the compiled code (#896). A bonus is that the
carbon-components-svelte
package will be considerably lighter in size.