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

Minification warning on other environments not called "production" #1384

Closed
dsteinbach opened this issue Feb 10, 2016 · 1 comment
Closed

Comments

@dsteinbach
Copy link

Is it necessary to warn users that they are running a minified version of redux? I am just wondering because our production env var is called "prod", and we also would prefer not seeing this warning in our integration or staging environments. Maybe it should only warn for "dev" or "development"?

@gaearon
Copy link
Contributor

gaearon commented Feb 10, 2016

I am just wondering because our production env var is called "prod", and we also would prefer not seeing this warning in our integration or staging environments.

Which means that you are currently running a development build of Redux (and probably React too, which is pretty slow compared to the real production build).

This has been discussed before, so please take a look through the discussion in #1075, including the inline comments at the bottom.

@gaearon gaearon closed this as completed Feb 10, 2016
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

2 participants