Skip to content

Commit ef63b0d

Browse files
marcofugarogaearon
authored andcommitted
removed options in UglifyJsPlugin which are equal to the defaults (facebook#1993)
* removed redundant already default options in UglifyJsPlugin * re-enabled remove comments Uglify option JSDoc-style comments weren't being removed
1 parent 2955244 commit ef63b0d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

config/webpack.config.prod.js

-5
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,10 @@ module.exports = {
258258
// Minify the code.
259259
new webpack.optimize.UglifyJsPlugin({
260260
compress: {
261-
screw_ie8: true, // React doesn't support IE8
262261
warnings: false,
263262
},
264-
mangle: {
265-
screw_ie8: true,
266-
},
267263
output: {
268264
comments: false,
269-
screw_ie8: true,
270265
},
271266
sourceMap: true,
272267
}),

0 commit comments

Comments
 (0)