2 ms·
I think dotenv would be fine as long as it doesn't raise exceptions if no .env file is found, i.e. if it works just as a helper for local dev and as a no-op for
by anentropic 2y ago
I think dotenv would be fine as long as it doesn't raise exceptions if no .env file is found, i.e. if it works just as a helper for local dev and as a no-op for production
I notice the dotenv docs are recommending dotenvx now in places: https://www.npmjs.com/package/dotenv#-manage-multiple-environments https://www.npmjs.com/package/dotenv#-manage-multiple-enviro...
- graemep 2y agoI have seen many .env files in production. SOme junior devs told me it was what they had been taught to do.