Skip to content

Commit

Permalink
Allow parsing of ecma 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored and gaearon committed Jan 14, 2018
1 parent d783e80 commit a78325c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ module.exports = {
// Minify the code.
new UglifyJsPlugin({
uglifyOptions: {
ecma: 5,
ecma: 8,
compress: {
warnings: false,
// Disabled because of an issue with Uglify breaking seemingly valid code:
Expand Down

0 comments on commit a78325c

Please sign in to comment.