@intlayer/config
Version:
Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.
7 lines • 316 B
TypeScript
export type Platform = 'next' | 'vite' | 'react_app' | 'node' | undefined;
export declare const getPlatform: () => Platform;
/**
* Get the prefix for the environment variables to be used in the platform
*/
export declare const getPrefix: (platform: Platform) => string;
//# sourceMappingURL=detectPlatform.d.ts.map