Skip to content

Commit 7dd25b6

Browse files
Timergaearon
authored andcommitted
Allow parsing of ecma 8
1 parent da173c4 commit 7dd25b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ module.exports = {
315315
// Minify the code.
316316
new UglifyJsPlugin({
317317
uglifyOptions: {
318-
ecma: 5,
318+
ecma: 8,
319319
compress: {
320320
warnings: false,
321321
// Disabled because of an issue with Uglify breaking seemingly valid code:

0 commit comments

Comments
 (0)