Wyatt Protzman
Jul 20, 2017 · 1 min read

Would it be possible for you to update the tutorial with specific .env files in addition to you just posting the REACT_APP_ENV in the package.json scripts. It would be nice to see staging.env with certain values inside of it as well as a production.env with the same variables inside, just different values and then how to decide which of the .env files to use at ‘build’ or ‘start’ time. I think that holds a lot more value than just hard coding into the npm script. Like if I were to have more than just the environment — say I wanted the environment, port, timeout for a specific environment, and any other special variables, you wouldn’t want to hard code all of those into each npm script I wouldn’t think?

cheers th0gh for being one of like 3 tutorials that has this info.

)