| Host | File | What it sets |
|---|---|---|
| Vercel | vercel.json |
pnpm install, pnpm build, dist, cache headers |
| Netlify | netlify.toml |
pnpm build, dist, Node 22, cache headers |
| Cloudflare Workers | wrangler.jsonc |
pnpm build, serves dist with the 404 page |
| Cloudflare, Netlify | public/_headers |
Long cache for /_astro/* |
| All | .node-version |
Node 22 |
Import the repository on Vercel or Netlify and deploy without changing any setting. On Cloudflare run
pnpm dlx wrangler deploy. Set site in astro.config.mjs to your real domain before going live.