Skip to content

Function: resolveProviders() ​

ts
function resolveProviders(configFile, options?): ResolvedProviders;

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

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.

When expandGlobs is true (default), glob patterns in provider paths are expanded using Node's glob.

Parameters ​

configFile ​

CssDocConfigFile

options? ​

ResolveProvidersOptions

Returns ​

ResolvedProviders

Released under the MIT License