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 committed Jan 14, 2018
1 parent 2d07427 commit 6f05355
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 6f05355

Please sign in to comment.