I followed your tutorial, and it helped me alot in managing the variables in the app, but I have one comment, rather than process.cwd() you should adjust it to be relative the app itself not the absolute directory, so I prefer using 'src/config/env/${process.env.NODE_ENV}.env'
Anyway Good job!!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I followed your tutorial, and it helped me alot in managing the variables in the app, but I have one comment, rather than
process.cwd()
you should adjust it to be relative the app itself not the absolute directory, so I prefer using 'src/config/env/${process.env.NODE_ENV}.env'Anyway Good job!!