We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 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.
export default
module.exports
I suppose a file with called es.js can be created with es export and package.json can have "module": "./es.js" field.
es.js
package.json
"module": "./es.js"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 ofmodule.exports
at the end.I suppose a file with called
es.js
can be created with es exportand
package.json
can have"module": "./es.js"
field.The text was updated successfully, but these errors were encountered: