Merge pull request #2092 from LubomirGeorgiev/uglifyjs-es5
UglifyJs: Change the ecma option from 8 to 5
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = {
|
|||||||
}),
|
}),
|
||||||
new UglifyJsPlugin({
|
new UglifyJsPlugin({
|
||||||
uglifyOptions: {
|
uglifyOptions: {
|
||||||
ecma: 8,
|
ecma: 5,
|
||||||
compress: {
|
compress: {
|
||||||
warnings: true,
|
warnings: true,
|
||||||
drop_console: true,
|
drop_console: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user