-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
jsesc breaks uglifyjs? #2891
Comments
Please post the output. |
@Timer, I have updated the original post with the output. |
Please see Unfortunately, |
Yes, that would explain it. Thanks, @Timer |
|
@tkjone looks like you need to downgrade to version 1.x for browser support, per @mathiasbynens's comment. |
Is this a bug report?
No.
Summary
I am experimenting with
jsesc
and I noticed that when used inside of react-create-app theyarn build
command will fail saying there is aninvalid assignment
. You can see this behaviour in this demo repo:https://github.com/tkjone/jsesc-test
You can see where I am using it in this file:
https://github.com/tkjone/jsesc-test/blob/master/src/App.js
To Reproduce
Move into the
react-create-app
demo provided above and runyarn build
.Output
The text was updated successfully, but these errors were encountered: