Skip to content

Commit 31a38b3

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

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/react-scripts/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)