We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1ba38d commit f6d8544Copy full SHA for f6d8544
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