fix(build): build 前清除 static/ SSR 缓存目录
避免增量构建时残留的 SSR 缓存导致页面内容不更新。 与 make clean 中已有的 static/ 清理保持一致。
This commit is contained in:
parent
aac0c8198d
commit
ae1efda462
1
Makefile
1
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user