Skip to main content
Version: Next

ConfigSources

Home > @backstage/config-loader > ConfigSources

A collection of utilities for working with and creating ConfigSources.

Signature:

class ConfigSources 

Methods

MethodModifiersDescription
default(options)staticCreates the default config source for Backstage.
defaultForTargets(options)staticCreates the default config sources for the provided targets.
merge(sources)staticMerges multiple config sources into a single source that reads from all sources and concatenates the result.
parseArgs(argv)staticParses command line arguments and returns the config targets.
toConfig(source)staticCreates an observable Config implementation from a ConfigSource.