@intlayer/config
Version:
Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.
11 lines • 521 B
TypeScript
import type { LoadEnvFileOptions } from '../envVariables/loadEnvFile';
import type { CustomIntlayerConfig, IntlayerConfig } from '../types/config';
export type GetConfigurationOptions = {
baseDir?: string;
override?: CustomIntlayerConfig;
} & LoadEnvFileOptions;
/**
* Get the configuration for the intlayer by reading the configuration file (e.g. intlayer.config.js)
*/
export declare const getConfiguration: (options?: GetConfigurationOptions) => IntlayerConfig;
//# sourceMappingURL=getConfiguration.d.ts.map