mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-19 16:49:39 +08:00
Rename compressor field to compress in UglifyJsPlugin settings (#264)
This commit is contained in:
committed by
Dan Abramov
parent
fc32623fce
commit
dd6ec95cfe
@@ -127,7 +127,7 @@ module.exports = {
|
||||
new webpack.optimize.OccurrenceOrderPlugin(),
|
||||
new webpack.optimize.DedupePlugin(),
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
compressor: {
|
||||
compress: {
|
||||
screw_ie8: true,
|
||||
warnings: false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user