Initial commit

This commit is contained in:
2026-11-20 16:56:51 +08:00
commit 263f4ed7e9
1857 changed files with 400682 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* Package file volume analysis
*/
import visualizer from 'rollup-plugin-visualizer';
import { isReportMode } from '../../utils';
export function configVisualizerConfig() {
if (isReportMode()) {
return visualizer({
filename: './node_modules/.cache/visualizer/stats.html',
open: true,
gzipSize: true,
brotliSize: true,
}) as Plugin;
}
return [];
}