Manage Environments in Create React App


Link to chapter -


Looking for a little clarity on this section. Are we supposed to run these build commands here? It’s not clear on whether you are giving an example of what to run later, or we are actually supposed to be running the build commands for dev and prod during this section.

REACT_APP_STAGE=prod npm run build


Good point. I’ll edit it to make it clear. It’s just an example. We use this command later in our build process.