From 6432d165c71213f90cda5c4ae250dd5b83a8cc05 Mon Sep 17 00:00:00 2001
From: ahao <liuhaoai545@gmail.com>
Date: 星期五, 05 一月 2024 12:06:10 +0800
Subject: [PATCH] update 修复启动弹出cjs废弃警告

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

diff --git a/vite.config.ts b/vite.config.ts
index cadaf62..e323dc7 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -28,6 +28,7 @@
         [env.VITE_APP_BASE_API]: {
           target: 'http://localhost:8080',
           changeOrigin: true,
+          ws: true,
           rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
         }
       }
@@ -63,11 +64,8 @@
         '@vueuse/core',
         'path-to-regexp',
         'echarts',
-        '@wangeditor/editor',
-        '@wangeditor/editor-for-vue',
         'vue-i18n',
         '@vueup/vue-quill',
-        '@iconify/iconify',
 
         'element-plus/es/components/form/style/css',
         'element-plus/es/components/form-item/style/css',

--
Gitblit v1.9.3