-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Consider supporting webpack.config.mjs alongside webpack.config.js #6566
Comments
It's a valid request, but not possible to do without changing the config loading to be asynchronous and using |
@Kovensky There is |
That shouldn't be an issue. We already support exporting a promise from webpack.config.js. |
@webpack-bot move to webpack/webpack-cli |
I've moved it to webpack/webpack-cli. |
Is this approved? Can we define webpack.config.mjs in next versions? |
@damianobarbati See the moved issue webpack/webpack-cli#282. This will probably take a good, good bit of time to be implemented and released. |
Do you want to request a feature or report a bug?
Feature.
What is the current behavior?
webpack.config.mjs
cannot be used in place ofwebpack.config.js
.What is the expected behavior?
webpack.config.mjs
could be used instead ofwebpack.config.js
.If this is a feature request, what is motivation or use case for changing the behavior?
Consistency.
The text was updated successfully, but these errors were encountered: