webpack-merge webpack 4 code example
Example 1: webpack merge
npm install --save-dev webpack-merge
const { merge } = require('webpack-merge');
Example 2: running webpack application on production server
"scripts": {
"build": "NODE_ENV=production webpack --config ./webpack.production.config.js"
},