Skip to content

Conversation

Rich-Harris
Copy link
Member

This PR tweaks prerender config. By default, everything is prerendered except /e/[slug], /apps, and /playground/[slug], but if PRERENDER=false then it will be disabled for everything except a few server routes.

This means you can do PRERENDER=false pnpm build and everything builds waaaaay faster, which is useful for debugging production issues locally.

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
svelte-dev ✅ Ready (Inspect) Visit Preview Dec 20, 2024 2:32am

@Rich-Harris
Copy link
Member Author

huh — prerendering by default meant a whole bunch of broken links just became apparent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant