From 2a6802ce513d0befd2d8eadd2fc100ffb6b88454 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 24 Sep 2024 17:36:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20svg=E6=8B=86=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/config/distributed.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/config/distributed.ts b/core/core-frontend/config/distributed.ts index c78ec0c274..d8ab7cad12 100644 --- a/core/core-frontend/config/distributed.ts +++ b/core/core-frontend/config/distributed.ts @@ -1,8 +1,10 @@ import pkg from '../package.json' import viteCompression from 'vite-plugin-compression' +import { visualizer } from 'rollup-plugin-visualizer' export default { plugins: [ + visualizer(), viteCompression({ // gzip静态资源压缩配置 verbose: true, // 是否在控制台输出压缩结果 @@ -29,7 +31,9 @@ export default { antv: ['@antv/g2', '@antv/g2plot', '@antv/l7', '@antv/l7plot', '@antv/s2'], tinymce: ['tinymce'], axios: ['axios'], - 'vuedraggable-es': ['vuedraggable'] + 'vuedraggable-es': ['vuedraggable'], + 'chart-dark-list_de': ['src/components/icon-group/chart-dark-list.ts'], + 'chart-list_de': ['src/components/icon-group/chart-list.ts'] } } },