2018-11-28 03:26:11 +00:00
|
|
|
const webpack = require('webpack')
|
|
|
|
const merge = require('webpack-merge')
|
2018-11-29 05:13:49 +00:00
|
|
|
// const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
|
2018-11-28 03:26:11 +00:00
|
|
|
const common = require('./webpack.common.js')
|
2018-04-25 22:58:58 +00:00
|
|
|
const path = require('path')
|
|
|
|
|
|
|
|
module.exports = merge(common, {
|
2018-11-29 05:13:49 +00:00
|
|
|
mode: 'production',
|
2018-04-25 22:58:58 +00:00
|
|
|
optimization: {
|
|
|
|
minimize: true
|
2018-11-29 05:13:49 +00:00
|
|
|
}
|
2018-04-25 22:58:58 +00:00
|
|
|
});
|