gin_lp-1.0.x-dev/webpack.config.build.js
webpack.config.build.js
// const path = require('path');
const merge = require('webpack-merge');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const webpackConfig = require('./webpack.config');
const MinifyPlugin = require('babel-minify-webpack-plugin');
module.exports = merge(webpackConfig, {
mode: 'production',
devtool: '',
plugins: [
new MinifyPlugin({}, {
comments: false,
sourceMap: '',
})
]
});
