Skip to content

Function: resolveProviders()

ts
function resolveProviders(configFile): ResolvedProviders;

Defined in: packages/config/src/providers.ts:52

Resolve every provider a config declares. .json paths load a published model; other paths are parsed as stylesheets. Paths starting with . resolve relative to the config file; the rest go through Node resolution (so a package specifier works), mirroring extends.

Parameters

configFile

CssDocConfigFile

Returns

ResolvedProviders

Released under the MIT License