UNPKG

@intlayer/chokidar

Version:

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

15 lines (14 loc) 603 B
import { IntlayerConfig } from "@intlayer/types/config"; //#region src/utils/getContentExtension.d.ts /** * Generates the .content file extension based on the desired format * and the project's fileExtensions configuration. * * Example: * format 'ts' -> '.content.ts' * format 'esm' -> '.content.js' (if matching .content.js is found in config) */ declare const getContentExtension: (format: "ts" | "esm" | "cjs" | "json" | "jsonc" | "json5" | (string & {}), configuration: IntlayerConfig) => string; //#endregion export { getContentExtension }; //# sourceMappingURL=getContentExtension.d.ts.map