Is this a bug report?
Yes.
Did you try recovering your dependencies?
This is about a clean new project.
Environment
node -v: 8.9.4
npm -v: 5.6.0
npm ls react-scripts: 1.1.1
- Operating system: macOS
Steps to reproduce
create-react-app minification-test && cd minification-test
- Replace
App.js with
import React, { Component } from 'react';
class App extends Component {
render() {
const test = `<Script></Script>`;
return (
<p>{test}</p>
);
}
}
export default App;
npm 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 second script is lowercase.
Reproducible demo
npm start:

Build:

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-testApp.jswithnpm run buildserve -s build(npm install serve -gif needed)Expected behavior
I expect to see
<Script></Script>on the screen.Actual behavior
I see
<Script></script>– the secondscriptis lowercase.Reproducible demo
npm start:Build:
