@intlayer/chokidar
Version:
Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.
15 lines (14 loc) • 494 B
TypeScript
import { IntlayerConfig } from "@intlayer/types/config";
//#region src/prepareIntlayer.d.ts
type PrepareIntlayerOptions = {
clean?: boolean;
env?: 'prod' | 'dev';
format?: ('cjs' | 'esm')[];
forceRun?: boolean;
cacheTimeoutMs?: number;
onIsCached?: () => void | Promise<void>;
};
declare const prepareIntlayer: (configuration: IntlayerConfig, options?: PrepareIntlayerOptions) => Promise<void>;
//#endregion
export { prepareIntlayer };
//# sourceMappingURL=prepareIntlayer.d.ts.map