UNPKG

@intlayer/config

Version:

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

50 lines 1.72 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 editor_exports = {}; __export(editor_exports, { APPLICATION_URL: () => APPLICATION_URL, BACKEND_URL: () => BACKEND_URL, CMS_URL: () => CMS_URL, DICTIONARY_PRIORITY_STRATEGY: () => DICTIONARY_PRIORITY_STRATEGY, EDITOR_URL: () => EDITOR_URL, HOT_RELOAD: () => HOT_RELOAD, IS_ENABLED: () => IS_ENABLED, PORT: () => PORT }); module.exports = __toCommonJS(editor_exports); const APPLICATION_URL = ""; const EDITOR_URL = "http://localhost:8000"; const CMS_URL = "https://intlayer.org"; const PORT = 8e3; const BACKEND_URL = "https://back.intlayer.org"; const IS_ENABLED = true; const HOT_RELOAD = false; const DICTIONARY_PRIORITY_STRATEGY = "local_first"; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { APPLICATION_URL, BACKEND_URL, CMS_URL, DICTIONARY_PRIORITY_STRATEGY, EDITOR_URL, HOT_RELOAD, IS_ENABLED, PORT }); //# sourceMappingURL=editor.cjs.map