webpack add prod note modules code example
Example 1: webpack config example
npm install --save-dev webpack-dev-server
Example 2: running webpack application on production server
"scripts": {
"build": "NODE_ENV=production webpack --config ./webpack.production.config.js"
},