UNPKG

rollup-plugin-visualizer

Version:

Visualize and analyze bundle sizes and module dependencies in Rollup, Rolldown, and Vite.

8 lines (7 loc) • 308 B
import { BundlerOutputChunk } from "./bundler-types.js"; interface SourceMapModuleRenderInfo { id: string; renderedLength: number; } export declare const getSourcemapModules: (id: string, outputChunk: BundlerOutputChunk, dir: string) => Promise<Record<string, SourceMapModuleRenderInfo>>; export {};