essential-react icon indicating copy to clipboard operation
essential-react copied to clipboard

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

Open vladimirpekez opened this issue 8 years ago • 3 comments

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",

vladimirpekez avatar Aug 29 '16 10:08 vladimirpekez

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

coderabsolute avatar Sep 19 '16 06:09 coderabsolute

Hm, going to take a look...

pheuter avatar Sep 19 '16 14:09 pheuter

I have the same issue.

mdoerneman avatar Jan 06 '17 17:01 mdoerneman