Fix Safari 10 (#3196)

This commit is contained in:
Paulus Schoutsen 2019-05-14 06:52:20 +02:00 committed by GitHub
parent a1bf06ceb2
commit d0410e0884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@ const optimization = (latestBuild) => ({
parallel: true, parallel: true,
extractComments: true, extractComments: true,
terserOptions: { terserOptions: {
safari10: true,
ecma: latestBuild ? undefined : 5, ecma: latestBuild ? undefined : 5,
}, },
}), }),