Marquee3000 icon indicating copy to clipboard operation
Marquee3000 copied to clipboard

Issue with UglifyJs: Unexpected token: name (Marquee3k)

Open dayneh88 opened this issue 7 years ago • 3 comments

The package is working great but my terminal keeps throwing this error whenever I compile my bundle.js

More annoying than anything haha.

dayneh88 avatar Jan 09 '18 09:01 dayneh88

Same here. Works fine when testing in dev, but ugifying it for production throws an error. @dayneh88 - Did you manage to get to the bottom of the issue?

Update: issue is due to uglifyJS not being able to handle ES6 syntax.

RyanGosden avatar Feb 21 '18 15:02 RyanGosden

Same issue, @RyanGosden did you figure it out?

Edit: I had to update my uglifyjs version

kennycrosby avatar Apr 09 '18 17:04 kennycrosby

Just stumbled upon this. The classname seems to be an issue. Just use the minified version of the script.

moay avatar Oct 09 '18 14:10 moay