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

Redux warning for using minified code outside of NODE_ENV === 'production'. #738

Open
oyo-ravi-yadav opened this issue Jan 16, 2020 · 1 comment

Comments

@oyo-ravi-yadav
Copy link

@oyo-ravi-yadav oyo-ravi-yadav commented Jan 16, 2020

Describe the bug
Getting this warning when building prod webpack config and running it

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.

#534
I think this was already mentioned and resolved but is still happening

To Reproduce
Steps to reproduce the behavior:

clone https://github.com/raven619claw/starter-kit/tree/develop
run yarn
yarn build:prod and then start with yarn start:prod and you would see the warning

Expected behavior
Warning should not be there as NODE_ENV is correctly set

@stale
Copy link

@stale stale bot commented Jun 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.