If you add `webpack --config webpack.config.js` to an `npm run` script like `build` and then use `np

If you add webpack --config webpack.config.js to an npm run script like
build
and then use
npm run build
as your build command, things should work as expected.
Was this page helpful?