Interface FileLoaderOptions

Hierarchy

  • Partial<OptionsSync>
    • FileLoaderOptions

Properties

absolutePath?: string

Use given file directly, instead of recursively searching in directory tree.

basename?: string

basename of config file, defaults to .env.

In other words, .env.yaml, .env.yml, .env.json, .env.toml, .env.js will be searched by default.

cache?: boolean
disallowUndefinedEnvironmentVariables?: boolean

If "true", disallow undefined environment variables. Default: true

ignoreEmptySearchPlaces?: boolean
ignoreEnvironmentVariableSubstitution?: boolean

If "true", ignore environment variable substitution. Default: true

loaders?: LoadersSync
packageProp?: string | string[]
searchFrom?: string

The directory to search from, defaults to process.cwd(). See: https://github.com/davidtheclark/cosmiconfig#explorersearch

searchPlaces?: string[]
stopDir?: string
transform?: TransformSync

Generated using TypeDoc