From ae1efda462cf360b896e4608bc4df3eab3593f28 Mon Sep 17 00:00:00 2001 From: xfy Date: Thu, 16 Jul 2026 17:39:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(build):=20build=20=E5=89=8D=E6=B8=85?= =?UTF-8?q?=E9=99=A4=20static/=20SSR=20=E7=BC=93=E5=AD=98=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 避免增量构建时残留的 SSR 缓存导致页面内容不更新。 与 make clean 中已有的 static/ 清理保持一致。 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 143e082..a968395 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .PHONY: dev build build-linux build-freebsd freebsd-sysroot docker docker-amd64 docker-apple docker-multiarch css css-watch clean build-libs build-editor build-codemirror build-lightbox build-core build-xterm highlight-css katex-css test doc doc-open start lint fix restore-webp build: + @rm -rf static/ @cd libs && pnpm install --frozen-lockfile @$(MAKE) build-libs @$(MAKE) highlight-css