You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see it supports creating multiple config files: envFilePath: ['.env.development.local', '.env.development'], but I wonder how it supports dynamically choose environment file based on NODE_ENV.
I have three env files: .env.dev, .dev.staging, .dev.prod. And I usually use NODE_ENV=dev env to set the current environment. How does nestjs/dev work with NODE_ENV. Can it pick one based on its value?
The text was updated successfully, but these errors were encountered:
I am looking through this instruction: https://docs.nestjs.com/techniques/configuration to setup env file for my nestjs application.
I see it supports creating multiple config files:
envFilePath: ['.env.development.local', '.env.development'],
but I wonder how it supports dynamically choose environment file based on NODE_ENV.I have three env files:
.env.dev
,.dev.staging
,.dev.prod
. And I usually useNODE_ENV=dev
env to set the current environment. How doesnestjs/dev
work with NODE_ENV. Can it pick one based on its value?The text was updated successfully, but these errors were encountered: