madskristensen / WebPackTaskRunner

A Visual Studio extension
Other
39 stars 16 forks source link

Add support for `webpack.config.mjs` (ES6) #59

Closed nil4 closed 2 years ago

nil4 commented 2 years ago

Webpack 5 supports configuration files written with ES6 module syntax, per:

After switching over to this, I noticed that WebPackTaskRunner doesn't detect and support the .mjs configuration file. This PR attempts to adds the missing bits.

madskristensen commented 2 years ago

Thanks