UNPKG

vite-plugin-bundlesize

Version:

Monitor bundle sizes and analyze bundle contents

27 lines (26 loc) 995 B
export declare const SIZE_CONVERSION: { b: number; kb: number; mb: number; gb: number; tb: number; pb: number; }; /** interpret human-readable sizes as bytes */ export declare function parseSize(size: string): number; export declare function padLeft(str: string, length: number): string; export declare function padRight(str: string, length: number): string; export declare function measure(source: string, mode?: "uncompressed" | "gzip" | "brotli"): number; /** ANSI colors */ export declare const SUPPORTS_COLOR: boolean; export declare const RESET: string; export declare const DIM: string; export declare const FG_WHITE: string; export declare const FG_BLUE_33: string; export declare const FG_GREEN_79: string; export declare const FG_RED_197: string; export declare const FG_MAGENTA_200: string; export declare const FG_ORANGE_202: string; export declare const FG_YELLOW_220: string; export declare const FG_GRAY_249: string; export declare const BG_BLACK: string;