Is your proposal related to a problem?
By default env-cmd WILL override the globally defined env vars, which differs from the default dotenv behavior and adds confusion.
Describe the solution you'd like
We should provide --no-override flag to env-cmd in the staging build example
Describe alternatives you've considered
An alternative would be a first-class support for environment-specific .env files by CRA, but that's a matter of future releases
Additional context
Is your proposal related to a problem?
By default
env-cmdWILL override the globally defined env vars, which differs from the defaultdotenvbehavior and adds confusion.Describe the solution you'd like
We should provide
--no-overrideflag toenv-cmdin the staging build exampleDescribe alternatives you've considered
An alternative would be a first-class support for environment-specific
.envfiles by CRA, but that's a matter of future releasesAdditional context