Skip to main content

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

Parameter

Type

Description

sources

ConfigSource[]

The config sources to merge

**Returns:**

ConfigSource

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