fix: 修复依赖版本 (#445)

* fix: 修复依赖版本

* fix: nanoid version

* fix: sass锁定1.79.6的版本

* nanoid reset

* fix: modern-compiler
This commit is contained in:
dayou 2024-10-28 21:20:56 +08:00 committed by GitHub
parent d4bdedb325
commit dffc70c005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@
"clipboard": "^2.0.11", "clipboard": "^2.0.11",
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"echarts": "^5.5.0", "echarts": "^5.5.0",
"element-plus": "^2.8.3", "element-plus": "^2.8.5",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"moment": "^2.29.4", "moment": "^2.29.4",
"nanoid": "^5.0.7", "nanoid": "^5.0.7",
@ -57,7 +57,7 @@
"husky": "^9.0.11", "husky": "^9.0.11",
"npm-run-all2": "^6.1.1", "npm-run-all2": "^6.1.1",
"prettier": "^3.0.3", "prettier": "^3.0.3",
"sass": "1.77.6", "sass": "1.79.6",
"typescript": "~5.3.0", "typescript": "~5.3.0",
"unplugin-auto-import": "^0.17.5", "unplugin-auto-import": "^0.17.5",
"unplugin-icons": "^0.18.5", "unplugin-icons": "^0.18.5",

View File

@ -114,6 +114,7 @@ export default defineConfig({
css: { css: {
preprocessorOptions: { preprocessorOptions: {
scss: { scss: {
api: 'modern-compiler',
additionalData: `@use "@/management/styles/element-variables.scss" as *;` additionalData: `@use "@/management/styles/element-variables.scss" as *;`
} }
} }