build:remove uglify from build process and reaplce with terser
This commit is contained in:
parent
c5e9c01f81
commit
8f72daebcf
1 changed files with 1 additions and 14 deletions
|
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}) */
|
|
||||||
Loading…
Reference in a new issue