From a9c917b5d7e35b9b06ec14d34b1f30c85214081f Mon Sep 17 00:00:00 2001
From: zhangdaiscott <zhangdaiscott@163.com>
Date: Wed, 20 Sep 2023 10:19:32 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E9=85=8D=E7=BD=AE=E4=BF=AE?=
 =?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 vite.config.ts | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/vite.config.ts b/vite.config.ts
index 2bed569..1aea3af 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -82,8 +82,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
           manualChunks: {
             'tinymce-vendor': ['tinymce'],
             'echarts-vendor': ['echarts'],
-            'antd-vue-vendor': ['ant-design-vue'],
-            'vxe-table-vendor': ['vxe-table'],
+            'antd-vue-vendor': ['ant-design-vue','@ant-design/icons-vue','@ant-design/colors'],
+            'vxe-table-vendor': ['vxe-table','vxe-table-plugin-antd','xe-utils'],
             'codemirror-vendor': ['codemirror'],
             //'emoji-mart-vue-fast': ['emoji-mart-vue-fast'],
             'jeecg-online-vendor': ['@jeecg/online'],
@@ -92,8 +92,9 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
             'html2canvas-vendor': ['html2canvas'],
             // vue vue-router合并打包
             vue: ['vue', 'vue-router'],
+            'cron-parser-vendor': ['cron-parser'],
           },
-        },
+        }
       },
       // 关闭brotliSize显示可以稍微减少打包时间
       reportCompressedSize: false,