-
Notifications
You must be signed in to change notification settings - Fork 77
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
"Unexpected character" error when running UglifyJS #70
Comments
Hey @ocean Are you using babel to transpile |
Not directly. Webpack is configured to look for modules inside Should I perhaps be logging this as an UglifyJS issue instead of here? |
@dleitee this issue unable me to build the bundle using the create-react-app is strange though why this particular character can't be parsed. |
@sebas5384 have you got this message from create-react-app build?
|
I removed the So, I'll check what's wrong with those methods. |
Hi there, thanks for the handy library.
I wondered if someone else had had the same issue I'm having, but it doesn't look like it.
I'm building a React app, and while compiling the production build with Webpack I was getting an error from UglifyJS and the Webpack was refusing to finish the build:
The line number (in my uncompressed dev version of the file) corresponds to this line in the
strman
entitiesencode.js
file (or maybe the decode one).I would have thought this character would be fine, like all the other Unicode characters your library supports, but 🤷♂️
The text was updated successfully, but these errors were encountered: