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

es module version? #40

Open
askbeka opened this issue Aug 22, 2019 · 0 comments
Open

es module version? #40

askbeka opened this issue Aug 22, 2019 · 0 comments

Comments

@askbeka
Copy link

askbeka commented Aug 22, 2019

Es modules are supported in 86% of browsers,
and this library is used by major web libraries|frameworks.

I have stumbled open this issue while working on experiment in https://next.plnkr.co/edit/8lukaUKTSzv6HOn5

I had to patch invariant with https://next.plnkr.co/edit/8lukaUKTSzv6HOn5?preview=invariant.js

to use export default instead of module.exports at the end.

I suppose a file with called es.js can be created with es export
and package.json can have "module": "./es.js" field.

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

1 participant