@intlayer/config
Version:
Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.
14 lines (13 loc) • 624 B
TypeScript
import { LoadExternalFileOptions } from "../loadExternalFile/loadExternalFile.js";
import { CustomIntlayerConfig } from "@intlayer/types/config";
//#region src/configFile/loadConfigurationFile.d.ts
/**
* Load the configuration file from the given path
* Example of configuration file: intlayer.config.js
*
* Accepts JSON, JS, MJS and TS files as configuration
*/
declare const loadConfigurationFile: (configFilePath: string, options?: Omit<LoadExternalFileOptions, "configuration">) => CustomIntlayerConfig | undefined;
//#endregion
export { loadConfigurationFile };
//# sourceMappingURL=loadConfigurationFile.d.ts.map