Optionaldefaultdefault target environment (used if env is not provided)
token indicating a dotenv file
OptionaldynamicProgrammatic dynamic variables map. When provided, this takes precedence over GetDotenvOptions.dynamicPath.
Optionaldynamicpath to JS/TS module default-exporting an object keyed to dynamic variable functions
Optionalenvtarget environment
Optionalexcludeexclude dynamic variables from loading
Optionalexcludeexclude environment-specific variables from loading
Optionalexcludeexclude global variables from loading
Optionalexcludeexclude private variables from loading
Optionalexcludeexclude public variables from loading
Optionalloadload dotenv variables to process.env
Optionalloglog loaded dotenv variables to logger
Optionalloggerlogger object (defaults to console)
Optionaloutputif populated, writes consolidated dotenv file to this path (follows dotenvExpand rules)
Optionalpathsarray of input directory paths
Optionalprivatefilename token indicating private variables
OptionaluseReserved: config loader flag (no-op). The plugin-first host and generator paths already use the config loader/overlay pipeline unconditionally (no-op when no config files are present). This flag is accepted for forward compatibility but currently has no effect.
Optionalvarsexplicit variables to include
Options passed programmatically to
getDotenv.