diff --git a/lib/config-array-factory.js b/lib/config-array-factory.js index 58c1e80..e4b18eb 100644 --- a/lib/config-array-factory.js +++ b/lib/config-array-factory.js @@ -1148,4 +1148,8 @@ class ConfigArrayFactory { } } -export { ConfigArrayFactory, createContext }; +export { + ConfigArrayFactory, + createContext, + loadConfigFile +}; diff --git a/lib/index.js b/lib/index.js index 9e3d13f..a37e574 100644 --- a/lib/index.js +++ b/lib/index.js @@ -8,7 +8,8 @@ import { ConfigArrayFactory, - createContext as createConfigArrayFactoryContext + createContext as createConfigArrayFactoryContext, + loadConfigFile } from "./config-array-factory.js"; import { CascadingConfigArrayFactory } from "./cascading-config-array-factory.js"; @@ -39,6 +40,7 @@ const Legacy = { OverrideTester, getUsedExtractedConfigs, environments, + loadConfigFile, // shared ConfigOps,