UglifyJs: Change the ecma option from 8 to 5

This commit is contained in:
Lubomir Georgiev
2018-08-14 17:23:15 +03:00
parent 157c97b6ae
commit 6280fc97db

View File

@@ -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,