I have an .env file that gets pre-loaded via the dotenv pre-load option.
node -r dotenv/config bin/server --hot --local
Is there a way to also pre-load a .env.local
or .env.*
?
I know it can be achieved in code, but there is a codebase I am working in where I can only reasonably use dotenv preload, doing anything else would require significant modification of the current init source code already in place.
Looking for a solution that would preferably work on Windows 10, but ideally on both Win and OSX