One of the things I've noticed while writing ESM code is that I reach for it all the time, even when writing webpack.config.js files. It would be rad if webpack 4 used something like @std/esm behind the scenes to load its config files. In addition to CJS, this would enable support for ESM import, export, dynamic import, and import.meta with config files across Node versions. Thoughts?
One of the things I've noticed while writing ESM code is that I reach for it all the time, even when writing
webpack.config.jsfiles. It would be rad if webpack 4 used something like@std/esmbehind the scenes to load its config files. In addition to CJS, this would enable support for ESMimport,export, dynamicimport, andimport.metawith config files across Node versions. Thoughts?