We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff54494 commit 1f18ab7Copy full SHA for 1f18ab7
packages/react-scripts/config/webpack.config.prod.js
@@ -293,6 +293,7 @@ module.exports = {
293
// Minify the code.
294
new UglifyJsPlugin({
295
uglifyOptions: {
296
+ ecma: 5,
297
compress: {
298
warnings: false,
299
// Disabled because of an issue with Uglify breaking seemingly valid code:
packages/react-scripts/package.json
@@ -53,7 +53,7 @@
53
"react-dev-utils": "^5.0.0",
54
"style-loader": "0.19.0",
55
"sw-precache-webpack-plugin": "0.11.4",
56
- "uglifyjs-webpack-plugin": "1.1.4",
+ "uglifyjs-webpack-plugin": "1.1.6",
57
"url-loader": "0.6.2",
58
"webpack": "3.8.1",
59
"webpack-dev-server": "2.9.4",
0 commit comments