rollup-plugin-bundle-stats
Version:
Analyze Rollup/Vite/Rolldown bundle stats(bundle size, assets, modules, packages) and compare the results between different builds
12 lines (11 loc) • 364 B
TypeScript
import { ReportOptions } from '@bundle-stats/cli-utils';
import type { Plugin } from './types';
interface BundleStatsOptions extends Omit<ReportOptions, 'outDir'> {
/**
* Output directory inside rollup `output.dir`
* Default: `''`.
*/
outDir?: string;
}
export declare const bundleStats: (options?: BundleStatsOptions) => Plugin;
export {};