1 | import { Plugin } from 'rollup';
|
2 | export declare type DependencyStats = {
|
3 | size: number;
|
4 | gzip: number;
|
5 | brotli?: number;
|
6 | delta?: number;
|
7 | };
|
8 | declare type DependencyStatsMap = {
|
9 | [filePath: string]: DependencyStats;
|
10 | };
|
11 | declare type DependencyType = 'direct' | 'common';
|
12 | export declare type DependencyStatsOutput = Record<DependencyType, DependencyStatsMap>;
|
13 | export declare function rollupPluginDependencyStats(cb: (dependencyInfo: DependencyStatsOutput) => void): Plugin;
|
14 | export {};
|