A calm place to write long-form, and publish it to the open social web. skypress.blog/
0

Configure Feed

Select the types of activity you want to include in your feed.

Underscore-prefix colocated page tests so Astro ignores them

The 404, 500, and [author]/index meta tests lived under src/pages/
without the leading underscore. Astro's file router imports every .ts
in src/pages/ during static-path collection, so the prerender server
evaluated these files, their top-level 'vitest' import threw outside
the runner, and the Cloudflare prerender server 500'd the build.

Rename them with a leading underscore (matching the existing [slug]
tests) so Astro skips them as routes while vitest's src/**/*.test.ts
glob still discovers them. See AGENTS.md constraint #8.

src/pages/404.meta.test.ts src/pages/_404.meta.test.ts
src/pages/500.meta.test.ts src/pages/_500.meta.test.ts
src/pages/[author]/index.meta.test.ts src/pages/[author]/_index.meta.test.ts