Browse Source

feat: add vxe-table/lib/locale/lang optimizeDeps

xiaoxian521 3 years ago
parent
commit
dbe0815ac4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      vite.config.ts

+ 3 - 1
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"]
     },