Skip to main content

LoadConfigOptions

Home > @backstage/config-loader > LoadConfigOptions

Warning: This API is now obsolete.

Use ConfigSources.default() instead.

Options that control the loading of configuration files in the backend.

Signature:

export type LoadConfigOptions = {
configRoot: string;
configTargets: ConfigTarget[];
experimentalEnvFunc?: (name: string) => Promise<string | undefined>;
remote?: LoadConfigOptionsRemote;
watch?: LoadConfigOptionsWatch;
};

References: ConfigTarget, LoadConfigOptionsRemote, LoadConfigOptionsWatch