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

Add ESM support #469

Merged
merged 1 commit into from
May 10, 2023
Merged

Add ESM support #469

merged 1 commit into from
May 10, 2023

Conversation

lunaneff
Copy link
Contributor

This PR adds ESM support to the JS module. This makes it possible to use it in most non-Node runtimes (see the import assertions rows) directly without an extra compilation step.

I also renamed the CommonJS file to make the difference between the two index files more clear.

@mledoze mledoze merged commit 979debd into mledoze:master May 10, 2023
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.

2 participants