-
Notifications
You must be signed in to change notification settings - Fork 457
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
Redux is using the wrong webpack NODE_ENV #35
Comments
facing same problem. |
I have the same problem when building on production, I'm not a pro on Webpack config but the DefinePlugin seems to be the solution: If anyone could look into it and help us on this issue it would be great |
Define plugin wont help, because the process.env.NODE_ENV is correct. |
Closing due to merged solution. If the problem persists, please feel free to reopen this issue. Thanks! 😄 |
Thank you! |
after building and deploying the production bundle, I get this error:
You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.
anyone else encountered it?
The text was updated successfully, but these errors were encountered: