interface OptimizedDepInfo {
    browserHash?: string;
    exportsData?: Promise<ExportsData>;
    file: string;
    fileHash?: string;
    id: string;
    needsInterop?: boolean;
    processing?: Promise<void>;
    src?: string;
}

Properties

browserHash?: string
exportsData?: Promise<ExportsData>

ExportData cache, discovered deps will parse the src entry to get exports data used both to define if interop is needed and when pre-bundling

file: string
fileHash?: string
id: string
needsInterop?: boolean
processing?: Promise<void>

During optimization, ids can still be resolved to their final location but the bundles may not yet be saved to disk

src?: string