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 *;` } }