Switch to dart-sass and make deploy script fail-safe

node-sass 4.x cannot build on arm64/Node 16. Use sass with ::v-deep
instead of /deep/, and only replace the server dist after the upload
is unpacked and verified.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-17 19:18:37 +08:00
co-authored by Claude Opus 5
parent 276636f70f
commit e282bd23e8
78 changed files with 20279 additions and 219 deletions
+1
View File
@@ -47,6 +47,7 @@
"eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.9.0",
"qs": "^6.9.0",
"sass": "^1.32.13",
"sass-loader": "^7.1.0",
"vue-cropper": "^0.4.9",
"vue-template-compiler": "^2.6.10"