Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e7a7a6f

Browse files
Timergaearon
authored andcommittedJan 14, 2018
Allow parsing of ecma 8
1 parent 4ab4ae4 commit e7a7a6f

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)
Please sign in to comment.