Skip to content
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

[Notice] Revised Packaging in v6.x #630

Open
elena-gancheva opened this issue Nov 11, 2024 · 0 comments
Open

[Notice] Revised Packaging in v6.x #630

elena-gancheva opened this issue Nov 11, 2024 · 0 comments

Comments

@elena-gancheva
Copy link
Collaborator

Version 6.0.0 (13 November 2024) introduces a new and simplified packaging structure:

  • The download size for the packages is 50-70% smaller.
  • A new exports section helps modern bundlers locate the correct entry point.
  • All of the important content is now in the package root.

BREAKING CHANGES

  • The CommonJS bundle (main entry point) has been moved from dist/npm/main.js to index.js
  • The ES Module bundle (module entry point) has been moved from dist/es/main.js to index.mjs
  • The TypeScript definitions (types entry point) has been moved from dist/npm/main.d.ts to index.d.ts
  • The packages no longer include a SystemJS bundle (dist/systemjs)

Please, note that most of the changes above do not require any action on your side. There are a few exceptions:

  • If you're using deep imports like: import { Foo } from '@progress/kendo-vue-buttons/dist/es/main'
    Change the imports to reference the package root: import { Foo } from '@progress/kendo-vue-buttons'
  • If you're using the SystemJS bundle.
    We hope this is extremely rare by now, but in case you need such bundle we can help you create it using Rollup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant