From dffc70c00552734b3d9fcb850ec0c3a9c41db38e Mon Sep 17 00:00:00 2001 From: dayou <853094838@qq.com> Date: Mon, 28 Oct 2024 21:20:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E7=89=88=E6=9C=AC=20(#445)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 修复依赖版本 * fix: nanoid version * fix: sass锁定1.79.6的版本 * nanoid reset * fix: modern-compiler --- web/package.json | 4 ++-- web/vite.config.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/package.json b/web/package.json index f9060096..c606e495 100644 --- a/web/package.json +++ b/web/package.json @@ -23,7 +23,7 @@ "clipboard": "^2.0.11", "crypto-js": "^4.2.0", "echarts": "^5.5.0", - "element-plus": "^2.8.3", + "element-plus": "^2.8.5", "lodash-es": "^4.17.21", "moment": "^2.29.4", "nanoid": "^5.0.7", @@ -57,7 +57,7 @@ "husky": "^9.0.11", "npm-run-all2": "^6.1.1", "prettier": "^3.0.3", - "sass": "1.77.6", + "sass": "1.79.6", "typescript": "~5.3.0", "unplugin-auto-import": "^0.17.5", "unplugin-icons": "^0.18.5", diff --git a/web/vite.config.ts b/web/vite.config.ts index ee989105..49bfe3ba 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -114,6 +114,7 @@ export default defineConfig({ css: { preprocessorOptions: { scss: { + api: 'modern-compiler', additionalData: `@use "@/management/styles/element-variables.scss" as *;` } }