Skip to content
Source
Sign inSign up
TanStack/router

feat(start): add route sitemap metadata and streamed output #8294

OpenLadyBluenotes(GitHub profile, opens in a new tab)wants to merge 6 commits intofeat/start-prerender-params fromfeat/start-route-sitemapsopened

Showing 21 changed files with 20 additions and 6 deletions (loading 18).

x
0 of 21 viewed, 21 left
6 additions and 0 deletions.changeset/open-taxes-thank.mdAdded
View file
@@ -0,0 +1,6 @@
+---
+'@tanstack/start-client-core': minor
+'@tanstack/start-plugin-core': minor
+---
+​
+Add route-level sitemap metadata and stream sitemap output while preserving page overrides and pages.json.
7 additions and 3 deletionsdocs/start/framework/react/guide/static-prerendering.mdModified
View file
@@ -141,7 +141,7 @@
​
<!-- ::end:tabs -->
​
-By default, Start builds route options used by `prerenderParams` separately from the final server bundle so they can be used at build time without being deployed. Set `prerender.separateRouteOptionsBundle` to `false` if your deployment adapter does not support the extra build environment or if you prefer to keep those route options in the server bundle.
+By default, Start builds route options used by `prerenderParams` and `sitemap` separately from the final server bundle so they can be used at build time without being deployed. Set `prerender.separateRouteOptionsBundle` to `false` if your deployment adapter does not support the extra build environment or if you prefer to keep those route options in the server bundle.
​
## Automatic Static Route Discovery
​
@@ -157,7 +157,7 @@
​
## Dynamic Route Prerendering
​
-Dynamic routes can declare `prerenderParams` to generate specific parameter values at build time. Each returned entry creates one page from the route path and can override prerender options for that page.