mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
Allow parsing of ecma 8
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user