webpack.config.dev.js dev and webpack.prod.config.js code example
Example: running webpack application on production server
"scripts": {
"build": "NODE_ENV=production webpack --config ./webpack.production.config.js"
},
"scripts": {
"build": "NODE_ENV=production webpack --config ./webpack.production.config.js"
},