UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

6 lines 273 B
const isDevelopment = process.env.NODE_ENV === "development"; const formatDictionaryText = (dictionary) => isDevelopment ? JSON.stringify(dictionary, null, 2) : JSON.stringify(dictionary); export { formatDictionaryText }; //# sourceMappingURL=formatDictionaryText.mjs.map