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

Add a configuration flag to enable ES module syntax #424

Closed
joseprio opened this issue Jul 15, 2019 · 0 comments · Fixed by #475
Closed

Add a configuration flag to enable ES module syntax #424

joseprio opened this issue Jul 15, 2019 · 0 comments · Fixed by #475

Comments

@joseprio
Copy link

Feature Proposal

At the moment the generated JS module uses the commonJS syntax. It would be useful to have an option that would use the ES module syntax instead.

Feature Use Case

Old commonJS syntax prevents module concatenation in Webpack. It may help tree shaking in some cases too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants