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

Export as ES6 module #92

Open
derrickb opened this issue Jul 9, 2021 · 0 comments
Open

Export as ES6 module #92

derrickb opened this issue Jul 9, 2021 · 0 comments

Comments

@derrickb
Copy link

derrickb commented Jul 9, 2021

This would just make the exported output just that much more frictionless for those who use an ES6 module setup for our projects and combine everything up using a bundler, like rollup.

This proposal is for a new export flag that uses the ES6 module export syntax. It could look like this:

Normal version

export default dialog;

Function wrapper version

export default (function () {....
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