-
Notifications
You must be signed in to change notification settings - Fork 80
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
UglifyJS throw 'Invalid assignment' error #90
Comments
Yes this is the case, search on their repo and let us know! |
Already checked and was unable to find anything, that's why I submitted it here. Any ideas what could be causing this? |
uglifyjs does not supports minifying ES2015 (this is sad) and stringify-object is not transpiled to ES5. I found this on uglifyjs website, maybe try https://github.com/mishoo/UglifyJS2/tree/harmony and let me know! |
Or try this: https://github.com/babel/babili |
Reopen another issue if you still have the issue, with a repro repository |
@jmorrice I have the same issue, what was your solution? The only way I found was to disable |
the bug is not present with the original repo |
This seems to be the way to go, you could also ask nwb to use the latest uglifyjs on their repo because more and more libraries will start shipping ES6 |
Thank you, I asked for it |
Thanks guys! |
Hi,
Thanks for this awesome library!
I'm creating a component library using an nwb boilerplate (https://github.com/insin/nwb/blob/master/docs/guides/ReactComponents.md#developing-react-components-and-libraries-with-nwb).
Once I added react-element-to-jsx-string the build fails with the following error:
Is this an issue with stringify-object?
The text was updated successfully, but these errors were encountered: