@intlayer/chokidar
Version:
Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.
11 lines • 368 B
JavaScript
import { applyMask } from "./applyMask.mjs";
import { buildMask } from "./buildMask.mjs";
const reduceDictionaryContent = (fullDictionary, partialDictionary) => {
const mask = buildMask(partialDictionary);
const result = applyMask(fullDictionary, mask);
return result;
};
export {
reduceDictionaryContent
};
//# sourceMappingURL=reduceDictionaryContent.mjs.map