| commit 090cf1c7ea202381a588aff79c675b1d942bcaad parent 7857194024d11f2f27af79021e57664ed4423128 Author: sqzer <110329244+sqzer-x@users.noreply.github.com> Date: Fri, 25 Sep 2026 19:55:06 +0900 fix: always build from a cleared content cache locally Astro caches rendered Markdown keyed by the .md file's digest, so after an image was replaced the local build kept the old width and height in the HTML; only a change to the post itself re-rendered it. CI already builds cold (cache: false). `astro build --force` makes a local build match it, for about 0.3 s. Diffstat:
|
| 1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/package.json b/package.json @@ -8,7 +8,7 @@ "scripts": { "dev": "astro dev", "prebuild": "node scripts/check-content.mjs && node scripts/render-diagrams.mjs && node scripts/build-info.mjs", - "build": "astro build", + "build": "astro build --force", "postbuild": "node scripts/check-dist.mjs", "preview": "astro preview", "check": "node scripts/check-content.mjs", |