cypress-dotenv
cypress-dotenv copied to clipboard
Use dotenv-flow instead of dotenv
Fixes #14
Tell me what you think about it :-) It will greatly help users of Next.js, which is a very well-known React.js framework.
I'm not familiar with dotenv-flow
, but skimming its README it would seem like it promotes having multiple .env
files and committing them to your repo. is that correct?
If so, that is actually an anti-pattern (a popular one, but still an anti-pattern). The README for .env actually discorages (1) committing your .env file (2) having more than one.
Having a .env for each deployable environment would... basically no longer make them "environmental variables". Because in order to change then you would need to make a code change.