Webpack-cli: Unknown argument: -p in v4

Created on 12 Oct 2020  路  3Comments  路  Source: webpack/webpack-cli

Describe the bug

Looks like argument -p is not supported in v4. What can be used instead?

Bug

Most helpful comment

--mode production

All 3 comments

--progress

@evilebottnawi no -p was before

--optimize-minimize --define process.env.NODE_ENV="production"

https://v4.webpack.js.org/api/cli/#shortcuts

Not --progress for sure

--mode production

Was this page helpful?
0 / 5 - 0 ratings