mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
* fix(start-plugin-core): preload transitive static imports and fix Rsbuild shared-chunk CSS Route preloads read a chunk's `imports` as a complete list, which only holds when the bundler hoists transitive imports. Walk the static import graph instead, and derive Rsbuild chunk imports from the module graph rather than chunk-group siblings so shared chunks stop attaching unrelated route CSS to the SSR response. Fixes #8415 Fixes #8511 * refactor(start-plugin-core): share one static import walk for preloads and CSS The manifest builder walked the static import graph twice, once breadth-first for preloads and once recursively for stylesheets. A single memoized depth-first walk now records discovered file names for preloads and chunks in post-order for stylesheets, which also keeps every chunk in an import cycle seeing the whole cycle instead of a partially cached result. The Rsbuild adapter resolved static dependency chunks again for every CSS-only chunk reached from each importer; the resolution is now memoized per chunk. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * docs(start-plugin-core): drop Rollup from the imports contract comments Rollup is no longer a supported client bundler, so the `imports` contract is described in terms of the direct-imports-only lists Rolldown and Rsbuild emit. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Manuel Schiller <6340397+schiller-manuel@users.noreply.github.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| e2e-utils | ||
| eslint-plugin-start | ||
| react-router | ||
| react-start | ||
| solid-router | ||
| solid-start | ||
| streaming-ssr-fixtures | ||
| streaming-ssr-specs | ||
| vue-router | ||
| vue-start | ||
| .gitignore | ||
| AGENTS.md | ||
| scroll-restoration-lifecycle.ts | ||
| streaming-ssr-assertions.ts | ||