Closed
Description
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.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.