UNPKG

@intlayer/config

Version:

Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.

14 lines (12 loc) 466 B
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); //#region src/utils/setIntlayerIdentifier.ts /** * Sets the version of Intlayer in the window object. * This is used for Intlayer detection in the browser. */ const setIntlayerIdentifier = () => { if (typeof window !== "undefined") window.intlayer = { enabled: true }; }; //#endregion exports.setIntlayerIdentifier = setIntlayerIdentifier; //# sourceMappingURL=setIntlayerIdentifier.cjs.map