2023-03-21 17:13:00 +08:00

16 lines
330 B
TypeScript

/**
* @name ConfigVisualizerConfig
* @description 打包体积分析
*/
import visualizer from 'rollup-plugin-visualizer';
export function ConfigVisualizerConfig() {
return visualizer({
filename: './node_modules/.cache/visualizer/stats.html',
open: true,
gzipSize: true,
brotliSize: true,
}) as Plugin;
}