Home > front end >  Gulp - uglify compression js, error, what's the problem
Gulp - uglify compression js, error, what's the problem

Time:12-03

Error message is as follows:
GulpUglifyError: unable to minify JavaScript
Under Caused by: SyntaxError: Unexpected token: name? i? , the expected: punc? ; ?

CodePudding user response:

Use webpack, don't gulp, permanent solution

CodePudding user response:

reference 1st floor that who ah sa reply:
use webpack, don't gulp, permanently solve the
I'll give it a try