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
@@ -822,7 +822,7 @@ export default {
<style lang="scss" scoped>
.cover-box {
/deep/ .avatar-uploader {
::v-deep .avatar-uploader {
width: 100.8px;
height: 158.4px;
}