I am in the process of upgrading webpack from v4 to v5.
I have started with upgrading webpack-cli, as explained in the doc.
So when I run npx webpack --version
I get
webpack 4.46.0
webpack-cli 4.5.0
Now I try to run the following command : npx webpack --display-error-details
.
The documentation of the webpack cli for v4 says this option is available.
But I get Error: Unknown option '--display-error-details'
What am I missing?