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

update template to build an esm version of the lib by default #11

Open
AndersonSMed opened this issue Oct 6, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@AndersonSMed
Copy link
Owner

AndersonSMed commented Oct 6, 2023

Right now, any created lib will be built by using umd, and therefore won't support esm by default. This issue is meant to explore and add this support by default so the developer doesn't need to do so.

webpack/webpack#14998
https://dev.to/jakobjingleheimer/configuring-commonjs-es-modules-for-nodejs-12ed

@AndersonSMed AndersonSMed added the enhancement New feature or request label Oct 6, 2023
@AndersonSMed AndersonSMed changed the title update template to build the lib by default with both esm and commonjs update template to build an esm version of the lib by default Oct 6, 2023
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