-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
isDev is always true #21
Comments
Try to log what |
My understanding is that |
I am not currently working on this project. I will close this issue for now; if someone else wants to re-open it, feel free. |
My npm script looks as follows:
main.js:
The console outputs:
I have some trouble understanding the use of this npm package which seems to be used a lot.
When setting NODE_ENV, I expect just being able to use
process.env.NODE_ENV
in my code as I'm used to, and it does seem to work.Why do we need another environment variable (?).
My bundle is packaged with webpack, not sure if this may have anything to do with it, but I wouldn't expect it to.
The text was updated successfully, but these errors were encountered: