chore: return back removed uglify plugin

This commit is contained in:
Roman Hotsiy 2017-03-27 10:27:48 +03:00
parent abae4c03c3
commit 6a283d484f
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -49,6 +49,18 @@ const config = webpackMerge(commonConfig({
minimize: true, minimize: true,
debug: false debug: false
}), }),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
screw_ie8: true,
negate_iife: false // for lazy v8
},
mangle: { screw_ie8 : true },
output: {
comments: false
},
sourceMap: true
}),
new webpack.BannerPlugin(BANNER) new webpack.BannerPlugin(BANNER)
] ]
}) })