v9.1.0
envaptType aliases

ProfilesConfig

type ProfilesConfig = Partial<Record<Environment, EnvProfile>> & object;

Configuration object for Envapter.configureProfiles. Maps each Environment to an optional profile override. Unspecified environments use the default cascade (.env.${env}.local, .env.${env}, .env.local, .env).

Type Declaration

NameTypeDescription
useDefaults?booleanSet false to load only the configured paths. Defaults to true, where the configured paths load ahead of the dotenv-flow cascade.

See

https://envapt.materwelon.dev/docs/env-files#profiles

On this page