ZeroOne English articles, page 8
Pagefind on GitHub Pages: Fix Missing Search Assets After Deploy
2026-08-09
Frontend
Fix Pagefind assets that work locally but 404 on GitHub Pages by building after Astro, deploying the artifact, and matching the bundle path.
964 words
|
5 minutes
Astro preview --background: Run a Built Site Without Holding the Terminal
2026-08-08
Frontend
Use Astro 7.2.0 preview --background to start a built site, inspect status and logs, stop it cleanly, or disable background mode in automation.
637 words
|
3 minutes
Codex --approve-for-me: Keep Auto Review Inside a Workspace-Write Sandbox
2026-08-08
AI
Understand Codex’s --approve-for-me flag: route eligible approvals to automatic review while keeping the workspace-write sandbox boundary explicit.
624 words
|
3 minutes
Cloudflare Workers createTestHarness(): Test Built Worker Routes with Vitest
2026-08-08
DevOps
Use Cloudflare Workers’ createTestHarness() with Vitest to test a Wrangler-built Worker, reset state between cases, and close the server cleanly.
744 words
|
4 minutes
Vite 8 manualChunks: Migrate Rollup Splits to Rolldown codeSplitting
2026-08-08
Frontend
Migrate Vite 8 manualChunks to Rolldown codeSplitting, catch silently ignored chunk assignments, and verify lazy output before shipping.
869 words
|
4 minutes
pnpm Git Dependencies on CI: Stop SSH URLs from Breaking Installs
2026-08-08
DevOps
Keep pnpm Git dependencies reproducible on CI: understand the pnpm 12 canonical HTTPS change, SSH rewrites for private repos, and frozen lockfiles.
750 words
|
4 minutes
Astro Remote Image Is Not Allowed: Fix domains and remotePatterns
2026-08-07
Frontend
Fix Astro’s “Remote image is not allowed” error by matching protocol, hostname, port, and pathname with a narrow image.remotePatterns rule.
758 words
|
4 minutes
Docker Compose Watch: When to Use sync, rebuild, and sync+restart
2026-08-07
DevOps
Use Docker Compose Watch to sync source files, rebuild dependency changes, and restart config safely with path, ignore, permissions, and verification checks.
860 words
|
4 minutes