UNPKG

rollup-plugin-visualizer

Version:

[![NPM Version](https://img.shields.io/npm/v/rollup-plugin-visualizer.svg)](https://npmjs.org/package/rollup-plugin-visualizer) [![Node.js CI](https://github.com/btd/rollup-plugin-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/btd

9 lines (8 loc) 514 B
import { GetModuleInfo } from "rollup"; import { ModuleLengths, ModuleTree, ModuleTreeLeaf } from "../shared/types"; import { ModuleMapper } from "./module-mapper"; 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;