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

ship src as esm #52

Open
bennypowers opened this issue Feb 5, 2020 · 1 comment
Open

ship src as esm #52

bennypowers opened this issue Feb 5, 2020 · 1 comment

Comments

@bennypowers
Copy link

Shipping src as esm would be extremely useful. It would obviate the need for a browser bundle, and would be interoperable.

A cjs build could be shipped along side that uses require

If you're interested, I can issue a PR

@dmurvihill
Copy link
Owner

Yes please, ESM is awesome and it would be great to add support for it and eventually remove the CommonJS browser bundle. Thanks!

We will have to have a community discussion about our migration strategy.

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