xiaoxian521 3 gadi atpakaļ
vecāks
revīzija
3e12372d9c
2 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 1 1
      package.json
  2. 2 1
      vite.config.ts

+ 1 - 1
package.json

@@ -71,7 +71,7 @@
     "@vue/compiler-sfc": "^3.2.20",
     "@vue/eslint-config-prettier": "^6.0.0",
     "@vue/eslint-config-typescript": "^7.0.0",
-    "@zougt/vite-plugin-theme-preprocessor": "^1.3.2",
+    "@zougt/vite-plugin-theme-preprocessor": "^1.3.4",
     "autoprefixer": "^10.2.4",
     "babel-plugin-transform-remove-console": "^6.9.4",
     "chalk": "^2.4.2",

+ 2 - 1
vite.config.ts

@@ -152,7 +152,8 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
         "element-plus/lib/locale/lang/en",
         "vxe-table/lib/locale/lang/zh-CN",
         "vxe-table/lib/locale/lang/en-US"
-      ]
+      ],
+      exclude: ["@zougt/vite-plugin-theme-preprocessor/dist/browser-utils"]
     },
     build: {
       // @ts-ignore