13 de January de 2022
Errors
No Comments
adrianoApi
This is because the UglifyJs version does not support ES6!
Solutions:
Update to UglifyJs gulp file:
npm i -D uglifyjs-webpack-plugin@beta
OR
Trade all let and const statements for var.
Unexpected token: name «id», expected: punc «;».
13 de January de 2022
Errors
No Comments
adrianoApi
This is because the UglifyJs version does not support ES6!
Solutions:
Update to UglifyJs gulp file:
OR
Trade all let and const statements for var.