Skip to content

[Notice] Revised Packaging in v6.x #630

Open
@elena-gancheva

Description

@elena-gancheva

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions