From dbe0815ac4d2cc29c13cee8c335b97e821be6a12 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Sat, 5 Feb 2022 17:36:21 +0800 Subject: [PATCH] feat: add vxe-table/lib/locale/lang optimizeDeps --- vite.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 786a950de8..a22a63cdd5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -79,7 +79,9 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => { "@vueuse/core", "@iconify/vue", "element-plus/lib/locale/lang/en", - "element-plus/lib/locale/lang/zh-cn" + "element-plus/lib/locale/lang/zh-cn", + "vxe-table/lib/locale/lang/zh-CN", + "vxe-table/lib/locale/lang/en-US" ], exclude: ["@zougt/vite-plugin-theme-preprocessor/dist/browser-utils"] },