DEV Community

Discussion on: How to set up different Webpack configurations for development and production

Collapse
 
kmwarter profile image
Keith Warter

Why not just use something like, "buildDev": "webpack --config dev.config.js", "buildProd": "webpack --config prod.config.js" instead of having that third file that just allows you to pass in the env using --env?