-
-
Notifications
You must be signed in to change notification settings - Fork 167
Drop CJS support | ESM-only package #1412
Copy link
Copy link
Labels
discussionOngoing discussionOngoing discussion
Description
Description
Currently the build producess en CJS as well as an ESM build product which can be imported by the user.
Moden JavaScript ecosystem like Vue/Vite/etc. treating ESM as a first-class citizen nowadays.
See blog post from Anthony Fu: https://antfu.me/posts/move-on-to-esm-only
Why Oruga need this feature
The shipped build product will be much smaller and the maintenance burden will be much simpler. ESM also provides significant advantages in static analysis and tree-shaking over CJS.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
discussionOngoing discussionOngoing discussion