-
-
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
String is modified in the production build #4100
Comments
This looks like an UglifyJS issue, it is reproducible in UglifyJS playground with following code: const test = `<Script></Script>`; and |
Could you please file this issue with Uglify and link back here? Thank you! |
Same issue here. I'm using |
Should we disable Can you please try react-scripts@2 and see if it persists in the beta? |
Linking the issue: mishoo/UglifyJS#2989. |
FYI: mishoo/UglifyJS#2991 |
Looks like this was fixed in Uglify. It'll work its way in here eventually. Thanks for the report! |
Is this a bug report?
Yes.
Did you try recovering your dependencies?
This is about a clean new project.
Environment
node -v
: 8.9.4npm -v
: 5.6.0npm ls react-scripts
: 1.1.1Steps to reproduce
create-react-app minification-test && cd minification-test
App.js
withnpm run build
serve -s build
(npm install serve -g
if needed)Expected behavior
I expect to see
<Script></Script>
on the screen.Actual behavior
I see
<Script></script>
– the secondscript
is lowercase.Reproducible demo
npm start
:Build:
The text was updated successfully, but these errors were encountered: