rollup-plugin-bundle-stats
Version:
In-depth bundle analyzer for rollup(bundle size, assets, modules, packages)
12 lines (11 loc) • 358 B
TypeScript
import { Plugin } from 'rollup';
import { ReportOptions } from '@bundle-stats/cli-utils';
interface BundleStatsOptions extends Omit<ReportOptions, 'outDir'> {
/**
* Output directory inside rollup `output.dir`
* Default: `''`.
*/
outDir?: string;
}
export declare const bundleStats: (options?: BundleStatsOptions) => Plugin;
export {};