UNPKG

@intlayer/config

Version:

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

41 lines 1.13 kB
const FILE_EXTENSIONS = [ ".content.ts", ".content.js", ".content.cjs", ".content.cjx", ".content.mjs", ".content.mjx", ".content.json", ".content.tsx", ".content.jsx" ]; const EXCLUDED_PATHS = ["node_modules"]; const CONTENT_DIR = ["src"]; const MAIN_DIR = ".intlayer/main"; const DICTIONARIES_DIR = ".intlayer/dictionary"; const UNMERGED_DICTIONARIES_DIR = ".intlayer/unmerged_dictionary"; const DYNAMIC_DICTIONARIES_DIR = ".intlayer/dynamic_dictionary"; const TYPES_DIR = ".intlayer/types"; const MODULE_AUGMENTATION_DIR = ".intlayer/types"; const DICTIONARY_OUTPUT = ["intlayer"]; const I18NEXT_DICTIONARIES_DIR = "i18next_resources"; const REACT_INTL_MESSAGES_DIR = "intl_messages"; const CONFIG_DIR = ".intlayer/config"; const WATCH = process.env.NODE_ENV === "development"; export { CONFIG_DIR, CONTENT_DIR, DICTIONARIES_DIR, DICTIONARY_OUTPUT, DYNAMIC_DICTIONARIES_DIR, EXCLUDED_PATHS, FILE_EXTENSIONS, I18NEXT_DICTIONARIES_DIR, MAIN_DIR, MODULE_AUGMENTATION_DIR, REACT_INTL_MESSAGES_DIR, TYPES_DIR, UNMERGED_DICTIONARIES_DIR, WATCH }; //# sourceMappingURL=content.mjs.map