Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Add a flag to enable ES module syntax #338

Closed
joseprio opened this issue Jul 15, 2019 · 3 comments
Closed

Add a flag to enable ES module syntax #338

joseprio opened this issue Jul 15, 2019 · 3 comments

Comments

@joseprio
Copy link
Contributor

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.

@joseprio
Copy link
Contributor Author

Happy to create a pull request if needed.

@alexander-akait
Copy link
Member

PR welcome

@alexander-akait
Copy link
Member

Done in master, release will be soon

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

No branches or pull requests

2 participants