Skip to main content
Version: Next

ConfigSources.merge()

Home > @backstage/config-loader > ConfigSources > merge

Merges multiple config sources into a single source that reads from all sources and concatenates the result.

Signature:

static merge(sources: ConfigSource[]): ConfigSource;

Parameters

ParameterTypeDescription
sourcesConfigSource[]The config sources to merge

Returns:

ConfigSource

A single config source that concatenates the data from the given sources