webpack-cli icon indicating copy to clipboard operation
webpack-cli copied to clipboard

Output configuration through option/flags

Open evenstensberg opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

As webpack configurations grow, and abstractions on top of webpack.config.js increases, it would be nice to output how the config looks, and what the end configuration will be, possibly through a CLI flag.

Describe the solution you'd like

A flag that outputs the configuration file.

Describe alternatives you've considered

N/A

Additional context

N/A

evenstensberg avatar Aug 30 '22 11:08 evenstensberg

Jest and typescript provide a --showConfig flag.

snitin315 avatar Aug 30 '22 11:08 snitin315

Yeah, we can implement this, but I think we need to expose some API from webpack for this

alexander-akait avatar Sep 02 '22 16:09 alexander-akait

This issue had no activity for at least half a year.

It's subject to automatic issue closing if there is no activity in the next 15 days.

webpack-bot avatar Mar 03 '23 17:03 webpack-bot

bump

alexander-akait avatar Mar 06 '23 09:03 alexander-akait

Let's close in favor of https://github.com/webpack/webpack-cli/issues/3537, because webpack config should do it

alexander-akait avatar Apr 29 '23 18:04 alexander-akait