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

Uglifier mangle properties has a start_with? undefined error on nil:NilClass #163

Open
pickhardt opened this issue Apr 27, 2019 · 1 comment

Comments

@pickhardt
Copy link

There's a bug when I use mangle: properties: true - it just errors with NoMethodError (undefined method `start_with?' for nil:NilClass)

Unfortunately that's all I have. Let me know if there's a debug param you want me to add to get more info. I used this:

    uglifier = Uglifier.new(harmony: true, mangle: {toplevel: true, properties: true})
@lautis
Copy link
Owner

lautis commented Sep 25, 2019

UglifyJS seems to return something unexpected when used in combination with harmony option. I'm not entirely sure why, and while handling the error better is easy, the new message is not any better.

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

2 participants