weapp-tailwindcss
Version:
把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!
18 lines (17 loc) • 594 B
TypeScript
export interface BundleMetric {
total: number;
transformed: number;
cacheHits: number;
elapsed: number;
}
export interface BundleMetrics {
runtimeSet: number;
html: BundleMetric;
js: BundleMetric;
css: BundleMetric;
}
export declare function formatDebugFileList(files: Set<string>, limit?: number): string;
export declare function createEmptyMetrics(): BundleMetrics;
export declare function measureElapsed(start: number): number;
export declare function formatCacheHitRate(metric: BundleMetric): string;
export declare function formatMs(value: number): string;