Skip to content

Evaluate esModule options in webpack loaders #8355

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

Open
ianschmitz opened this issue Jan 21, 2020 · 0 comments
Open

Evaluate esModule options in webpack loaders #8355

ianschmitz opened this issue Jan 21, 2020 · 0 comments

Comments

@ianschmitz
Copy link
Contributor

css-loader and style-loader now support a esModule option to emit to ESM instead of CJS, which can improve tree shaking/module concatenation in webpack, but I haven't had a chance to see if it's compatible with our other CSS loaders.

file-loader and url-loader now enable esModule by default, but have dropped support for node < 10.13.0.

Let's see if there's any benefit to enabling these in our webpack config.

@ianschmitz ianschmitz added this to the 3.x milestone Jan 21, 2020
@ianschmitz ianschmitz changed the title Evaluate useEsModule options in webpack loaders Evaluate esModule options in webpack loaders Jan 21, 2020
@ianschmitz ianschmitz modified the milestones: 3.x, 4.0 Jan 22, 2020
@iansu iansu modified the milestones: 4.0, 4.1 Jul 22, 2020
@raix raix modified the milestones: 5.1, 5.x Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants