UNPKG

@lingui/cli

Version:

Lingui CLI to extract messages, compile catalogs, and manage translation workflows

11 lines (10 loc) 393 B
import type { BundleChunk } from "@lingui/conf"; /** * Traverse the chunk import graph to determine which entry points depend on each chunk. * This lets us extract messages from shared/common chunks once and attribute them to all * consuming entry catalogs. */ export declare function buildChunkGraph(rawChunks: BundleChunk[]): Array<{ filePath: string; entryPoints: string[]; }>;