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

External module support for ES6 module output #724

Open
theseanl opened this issue Aug 16, 2022 · 0 comments
Open

External module support for ES6 module output #724

theseanl opened this issue Aug 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@theseanl
Copy link
Owner

theseanl commented Aug 16, 2022

Emitting ES6 modules is being worked in #723 (Disclaimer It doesn't preserve export statements in entry files, import and export statements are only used for inter-chunk references.) It currently works only with self-contained builds without external modules. More and more libraries are now being provided as ES6 modules, and it would be nice if we can make ES6 output modules reference external modules via import statements, not via global variables. It would be the best if it can be done in a way as easy as the "shim modules".

@theseanl theseanl added the enhancement New feature or request label Aug 16, 2022
@theseanl theseanl changed the title External module support for ES6 output External module support for ES6 module output Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant