2023-10-27


Webpack config per environment
It’s possible to have multiple webpack config files, for example one for dev and one for prod. After creating the files they can be used with:
--config webpack.prod.js
which can be added to the scripts in package.json.
Go back to all posts