UNPKG

rollup-plugin-visualizer

Version:

Visualize and analyze your bundle to quickly see which modules are taking up space.

9 lines (8 loc) 520 B
import { GetModuleInfo } from "rollup"; import { ModuleLengths, ModuleTree, ModuleTreeLeaf } from "../shared/types.js"; import { ModuleMapper } from "./module-mapper.js"; export declare const buildTree: (bundleId: string, modules: Array<ModuleLengths & { id: string; }>, mapper: ModuleMapper) => ModuleTree; export declare const mergeTrees: (trees: Array<ModuleTree | ModuleTreeLeaf>) => ModuleTree; export declare const addLinks: (startModuleId: string, getModuleInfo: GetModuleInfo, mapper: ModuleMapper) => void;