review code.

This commit is contained in:
lijiahang
2023-08-03 14:21:27 +08:00
parent 598e33b0b5
commit d86b301628
22 changed files with 83 additions and 47 deletions

View File

@@ -1,10 +1,9 @@
/**
* Generation packaging analysis
* 生成打包分析
*/
import visualizer from 'rollup-plugin-visualizer';
import { isReportMode } from '../utils';
/**
* 生成打包分析
*/
export default function configVisualizerPlugin() {
if (isReportMode()) {
return visualizer({