Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Commit 01635a6

Browse files
committed
clean UglifyJSPlugin options in production build
1 parent 1a11503 commit 01635a6

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

webpack.production.config.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ const config = {
3333
debug: false,
3434
}),
3535
new webpack.optimize.UglifyJsPlugin({
36-
beautify: false,
37-
mangle: {
38-
screw_ie8: true,
39-
keep_fnames: true,
40-
},
41-
compress: {
42-
screw_ie8: true,
43-
},
44-
comments: false,
36+
beautify: false
4537
}),
4638
new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify('production') } }),
4739
new ExtractTextPlugin({ filename: 'style.css', disable: false, allChunks: true }),

0 commit comments

Comments
 (0)