Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with UglifyJs: Unexpected token: name (Marquee3k) #11

Open
dayneh88 opened this issue Jan 9, 2018 · 3 comments
Open

Issue with UglifyJs: Unexpected token: name (Marquee3k) #11

dayneh88 opened this issue Jan 9, 2018 · 3 comments

Comments

@dayneh88
Copy link

dayneh88 commented Jan 9, 2018

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

More annoying than anything haha.

@RyanGosden
Copy link

RyanGosden commented Feb 21, 2018

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.

@kennycrosby
Copy link

kennycrosby commented Apr 9, 2018

Same issue, @RyanGosden did you figure it out?

Edit: I had to update my uglifyjs version

@moay
Copy link

moay commented Oct 9, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants