Is your feature request related to a problem? Please describe.
Right now, we don't have all the old CLI flags. It would be good to add them back along with new webpack v5 config options.
Describe the solution you'd like
Flags added back in cli-flags.js file.
Describe alternatives you've considered
N/A
Additional context
You can have a look at the old flags by looking at the master branch of webpack-cli
No, now we have API for flags on webpack side and we should use it, for webpack@4 we should support only minimum flags (what we supported now), we don't need doing extra unnecessary work
I think we should have the old api, minimal flags makes the CLI just a skeleton. We should support a set of features that the old CLI provided
@evenstensberg Why? We don't need to do double work, most of developers prefer configurations over CLI flags, so it is not priority and require a lot of unnecessary work, which most likely will not be used by most developers
Okay, I'm +1 on that. My idea was that we support it nonetheless to make it more sleek to devs that end up using the CLI only for development purposes instead of a config file.
As per roadmap:
mode, stats and etc (already supported)@snitin315 Yes :+1: