486 B
486 B
Cloudflare devices build
- Cloudflare's Astro prerenderer runs in a Worker where
process.cwd()is/bundle; localpublic/files cannot be read usingnode:fs. src/pages/devices.astroimportspublic/devices/status.json?rawand uses a Vite glob for the device image manifest. The generator and public URLs remain unchanged.- Verified
npm run buildwith the Cloudflare adapter, including temporary image fixtures to check image priority and output, and all device cards.