In the ground since Fri Nov 01 2024
Last watered inMon Nov 11 2024
For a development environment we can use ts-node-dev (with alias path convertion: 'ts-config-paths')
By default, a .env will be automatically used.
In some moments we want to temporary use a local env var
ps. The .env is auto inject, we don't need to explict it --env-file=.env
By default, a .env will be automatically used.
We use the "mode" prop and create a .env.[mode].local to also load an extra .env file
File Tree
| .env | .env.demo.local
If we set a NAME="mario" in .env and NAME="luigi" in .env.demo.local, the final value will be "luigi"