build:remove uglify from build process and reaplce with terser

This commit is contained in:
Bill Church 2019-11-15 13:00:38 -05:00
parent c5e9c01f81
commit 8f72daebcf

View file

@ -1,6 +1,5 @@
const TerserPlugin = require('terser-webpack-plugin'); const TerserPlugin = require('terser-webpack-plugin');
const merge = require('webpack-merge') const merge = require('webpack-merge')
// const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
const common = require('./webpack.common.js') const common = require('./webpack.common.js')
module.exports = merge(common, { module.exports = merge(common, {
@ -14,16 +13,4 @@ module.exports = merge(common, {
} }
})], })],
} }
}) })
/* new UglifyJSPlugin({
uglifyOptions: {
ie8: false,
dead_code: true,
output: {
comments: false,
beautify: false
}
}
}) */