-
Notifications
You must be signed in to change notification settings - Fork 33
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
ES6 modules #22
Comments
Hey @nicolashenry, what would be the benefit for this project/for the users? |
@bripkens The idea would be for example to provide an additional version of the library in the final package with the "module" property referencing it. Rollup and Webpack both understand this property, see here. You could translate the ES6 module version to commonjs with a transpiler like this one to prevent code duplication. |
@nicolashenry: Sounds like a fine idea. Though I have no capacity/need for this. If you need it, feel free to open up a PR :). |
Would you consider using ES6 modules?
Thanks :)
The text was updated successfully, but these errors were encountered: