Skip to content
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

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

Open
vladimirpekez opened this issue Aug 29, 2016 · 3 comments
Open
Assignees

Comments

@vladimirpekez
Copy link

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
Copy link

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

@pheuter
Copy link
Owner

pheuter commented Sep 19, 2016

Hm, going to take a look...

@pheuter pheuter self-assigned this Sep 19, 2016
@mdoerneman
Copy link

I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants