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

Feature request: ESM support #51

Closed
dlecan opened this issue Nov 4, 2020 · 2 comments
Closed

Feature request: ESM support #51

dlecan opened this issue Nov 4, 2020 · 2 comments

Comments

@dlecan
Copy link

dlecan commented Nov 4, 2020

As for many other GH projects, I'd love to use this package in the browser with tree-shaking possibility, so with ESM enable on it.
But currently, it uses Node-style CommonJS.

Would it be possible to support ESM through package.json fields?

ESM loading is also coming to Node.js.

I would be happy to open a pull request but wish to confirm interest from the maintainers first.

@faustbrian
Copy link

Support for ESM would also enable the use of this package with https://deno.land/ which is an alternative to node.js if you want to use a more modern and secure runtime than node.js

@dlecan
Copy link
Author

dlecan commented Jan 7, 2022

No using this project anymore

@dlecan dlecan closed this as completed Jan 7, 2022
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

No branches or pull requests

2 participants