pheuter / essential-react

A minimal skeleton for building testable React apps using Babel
MIT License
2.02k stars 131 forks source link

Why is there warning about using only minified dev build of react? #50

Open vladimirpekez opened 8 years ago

vladimirpekez commented 8 years ago

Hi

After running:

npm run build

in my browser I get the following message:

app.js:1 Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.

Shouldn't npm run build take care of this?

In package JSON I can see production webpack config is used: ... "scripts": { ... "build": "webpack -p --progress --config webpack.production.config.js",

coderabsolute commented 8 years ago

I have the same issue, did you manage to fix it?

pheuter commented 8 years ago

Hm, going to take a look...

mdoerneman commented 7 years ago

I have the same issue.