export type ChunkingStrategy = 'granular' | 'legacy'; export type AsyncModulePath = string | readonly string[]; export type AsyncModulePaths = Record; export type SerialAsset = { originFilename: string; filename: string; source: string; type: 'css-external' | 'css' | 'js' | 'map' | 'json'; metadata: { chunkingStrategy?: ChunkingStrategy; /** Absolute entry module paths represented by this file. Empty for runtime, shared, and worker chunks. */ entryPaths?: string[]; /** * Entry module paths to required JS filenames, stored on the initial asset. * Excludes the initial chunk, but includes files an importer may already have loaded. * Runtime dependencies are recorded separately in asset `requires` lists. */ entryChunks?: Record; hmrId?: string; /** Media query for a `css-external` stylesheet (e.g. `screen and (min-width: 900px)`). */ media?: string; isAsync?: boolean; modulePaths?: string[]; paths?: Record; reactServerReferences?: string[]; reactClientReferences?: string[]; expoDomComponentReferences?: string[]; loaderReferences?: string[]; requires?: string[]; }; };