Closed nelson777 closed 7 years ago
I'm getting an error when using arrow functions:
Error: Cannot uglify file: /home/77363698953/dados/des/js/iDMT/www/js/prj.min.js. Skipping it. Error is: SyntaxError: Unexpected token: operator (>) (line: 2720, col: 11, pos: 616843)
I think this is somewhat related with UglifyJs version ? Does this mean I can't use arrow functions ?
It seems you are using latest JS.. Check here it may also be your solution.
Worked great thanks. Closing as there is another topic on this subject.
I'm getting an error when using arrow functions:
Error: Cannot uglify file: /home/77363698953/dados/des/js/iDMT/www/js/prj.min.js. Skipping it. Error is: SyntaxError: Unexpected token: operator (>) (line: 2720, col: 11, pos: 616843)
I think this is somewhat related with UglifyJs version ? Does this mean I can't use arrow functions ?