UNPKG

@intlayer/config

Version:

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

65 lines 2.71 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var index_exports = {}; __export(index_exports, { ESMxCJSRequire: () => import_ESMxCJSHelpers.ESMxCJSRequire, Locales: () => import_locales.Locales, formatEnvVariable: () => import_envVariables.formatEnvVariable, getAppLogger: () => import_logger.getAppLogger, getClientConfiguration: () => import_envVariables.getConfiguration, getConfiguration: () => import_getConfiguration.getConfiguration, getEnvFilePath: () => import_envVariables.getEnvFilePath, getPlatform: () => import_envVariables.getPlatform, getSandBoxContext: () => import_getSandboxContext.getSandBoxContext, isESModule: () => import_ESMxCJSHelpers.isESModule, loadEnvFile: () => import_envVariables.loadEnvFile, loadExternalFile: () => import_loadExternalFile.loadExternalFile, logger: () => import_logger.logger, normalizePath: () => import_normalizePath.normalizePath, retryManager: () => import_retryManager.retryManager }); module.exports = __toCommonJS(index_exports); var import_getConfiguration = require('./configFile/getConfiguration.cjs'); var import_envVariables = require('./envVariables/index.cjs'); var import_getSandboxContext = require('./getSandboxContext.cjs'); var import_loadExternalFile = require('./loadExternalFile.cjs'); var import_logger = require('./logger.cjs'); var import_retryManager = require('./retryManager.cjs'); var import_locales = require('./types/locales.cjs'); var import_ESMxCJSHelpers = require('./utils/ESMxCJSHelpers.cjs'); var import_normalizePath = require('./utils/normalizePath.cjs'); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { ESMxCJSRequire, Locales, formatEnvVariable, getAppLogger, getClientConfiguration, getConfiguration, getEnvFilePath, getPlatform, getSandBoxContext, isESModule, loadEnvFile, loadExternalFile, logger, normalizePath, retryManager }); //# sourceMappingURL=index.cjs.map