We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c86ffb6 commit f4d31b8Copy full SHA for f4d31b8
packages/react-scripts/config/webpack.config.prod.js
@@ -282,6 +282,11 @@ module.exports = {
282
new webpack.optimize.UglifyJsPlugin({
283
compress: {
284
warnings: false,
285
+ // Disabled because of an issue with Uglify breaking seemingly valid code:
286
+ // https://github.com/facebookincubator/create-react-app/issues/2376
287
+ // Pending further investigation:
288
+ // https://github.com/mishoo/UglifyJS2/issues/2011
289
+ comparisons: false,
290
},
291
output: {
292
comments: false,
0 commit comments