Could be useful that the build detects if a
.env
file exists in the root file and used that variables in the build. Even better if you can specify some kind of flag like
--production
or
--staging
and the build search for
.env.production
and
.env.staging
.
We can used to put backend urls and secret keys.