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

Switch to ESM #102

Merged
merged 6 commits into from
Dec 13, 2021
Merged

Switch to ESM #102

merged 6 commits into from
Dec 13, 2021

Conversation

sibiraj-s
Copy link
Collaborator

@sibiraj-s sibiraj-s commented Dec 5, 2021

ESM is the future

While Trying to support both ESM and CJS with rollup still causes issues when running in ESM environment, since not all the dependencies minifier uses provides correct exports for both environments.

Hence the source is converted to ESM and CJS is supported via rollup. There is no breaking changes from v7.0.0-alpha.0 except the node requirement is slightly strict.

@sibiraj-s
Copy link
Collaborator Author

Let's ship this.

@sibiraj-s sibiraj-s merged commit a270ff2 into master Dec 13, 2021
@sibiraj-s sibiraj-s deleted the esm branch December 13, 2021 14:58
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

Successfully merging this pull request may close these issues.

None yet

2 participants