Files
site/.agent/memories/cloudflare-devices-build.md
yigid a0265efe6d
Build & Deploy (CF Workers) / build-deploy (push) Successful in 52s
ci: publish setup
2026-11-01 15:47:41 +03:00

486 B

Cloudflare devices build

  • Cloudflare's Astro prerenderer runs in a Worker where process.cwd() is /bundle; local public/ files cannot be read using node:fs.
  • src/pages/devices.astro imports public/devices/status.json?raw and uses a Vite glob for the device image manifest. The generator and public URLs remain unchanged.
  • Verified npm run build with the Cloudflare adapter, including temporary image fixtures to check image priority and output, and all device cards.