Skip to main content

FileConfigSourceOptions

Home > @backstage/config-loader > FileConfigSourceOptions

Options for FileConfigSource.create().

Signature:

export interface FileConfigSourceOptions 

Properties

Property

Modifiers

Type

Description

parser?

Parser

(Optional) A content parsing function to transform string content to configuration values.

path

string

The path to the config file that should be loaded.

substitutionFunc?

SubstitutionFunc

(Optional) A substitution function to use instead of the default environment substitution.

watch?

boolean

(Optional) Set to false to disable file watching, defaults to true.