From 3e12372d9c2c6d21a4fbccafdc9b9da70d3ab301 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Sun, 31 Oct 2021 10:20:36 +0800 Subject: [PATCH] chore: update --- package.json | 2 +- vite.config.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3030df506..18f310fc7 100644 --- a/package.json +++ b/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", diff --git a/vite.config.ts b/vite.config.ts index 431d5feb8..119d4b6e1 100644 --- a/vite.config.ts +++ b/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