@intlayer/chokidar
Version:
Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.
11 lines (9 loc) • 416 B
JavaScript
import { applyMask } from "./applyMask.mjs";
import { getMaskContent } from "@intlayer/core/plugins";
//#region src/reduceDictionaryContent/reduceDictionaryContent.ts
const reduceDictionaryContent = (fullDictionary, partialDictionary) => {
return applyMask(fullDictionary, getMaskContent(partialDictionary));
};
//#endregion
export { reduceDictionaryContent };
//# sourceMappingURL=reduceDictionaryContent.mjs.map