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
@@ -25,6 +25,7 @@ module.exports = {
css: {
loaderOptions: {
sass: {
implementation: require('sass'),
data: `@import "@/assets/scss/base.scss";`
}
}