-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Carrying over discussion form PR #5
We've seen that it's not always safe to assume the contributor has NODE_ENV=development set in their environment variables. There is a brief note about this in the README. Should we offer more specific guidance on how to set this env var?
Some other related concerns I thought of are: should we point to some Webpack documentation for especially relevant configuration details, such as having different Webpack config files for different environments, or setting env vars in Webpack? Should we point to the docs for some of the React/Redux adds-on used here, such as Redux-Actions?
Regarding instructions on how to set NODE_ENV, there are many ways to do this and I don't think we should suggest a preference for any particular way. Also, how to do this is going to vary from system to system (on Mac/-nix vs. Windows, for example). One thought that I had is that we could link to a good tutorial on the subject. I found this blog post from Flavio Copes, but it doesn't really cover the options at all.