t-comm
Version:
专业、稳定、纯粹的工具库
26 lines (25 loc) • 467 B
TypeScript
/**
* 分析首页Bundle信息
*
* @export
* @param config 配置
* @param {string} config.domain 域名
* @param {string} config.buildPath 打包路径
* @returns {*}
*
* @example
* ```ts
* analyzeIndexBundle({
* domain: '',
* buildPath: '',
* })
* ```
*/
export declare function analyzeIndexBundle({ domain, buildPath }: {
domain: string;
buildPath: string;
}): ({
file: string;
size: number;
time: number;
} | undefined)[];