[1.x] Switch to ESM
danburzo opened this issue · 2 comments
danburzo commented
Since it's a breaking change, this is planned for the 1.x release.
Switch to ES modules for all internal tooling, and rethink exports by:
- Switching to ESM by default;
- Providing legacy CJS / IIFE builds.
Further reading:
danburzo commented
Eleventy currently doesn't like type: module
in package.json
, need to figure it out.
danburzo commented
Fixed on 1.x
, the Eleventy thing was a non-issue (misread the docs).