0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/e2e/react-start/css-modules
Manuel Schiller 3f226869e0
fix(start-plugin-core): include CSS in Rsbuild dev SSR when the server runs in workerd (#8889)
fix(start-plugin-core): write Rsbuild dev manifest into the server module

In Rsbuild dev, the start manifest was stored on the build process's
globalThis and read from there by the SSR manifest module. When the server
environment runs in another runtime, such as workerd with
rsbuild-plugin-cloudflare, that global is invisible, so SSR fell back to a
manifest without CSS and pages rendered unstyled.

Write the dev manifest into the server's manifest virtual module instead,
only when its content changes. Add rsbuild dev variants (Node and workerd)
to the css-modules e2e app to cover it.

Fixes #8886

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-08 09:05:42 +01:00
..
.devcontainer docs: add devcontainer.json to all e2e/examples (#6972) 2026-03-18 15:43:14 +01:00
src fix(start-plugin-core): preload transitive static imports and fix Rsbuild shared-chunk CSS (#8695) 2026-10-13 01:07:27 +02:00
tests fix(start-plugin-core): preload transitive static imports and fix Rsbuild shared-chunk CSS (#8695) 2026-10-13 01:07:27 +02:00
.gitignore fix(start-plugin-core): include CSS in Rsbuild dev SSR when the server runs in workerd (#8889) 2026-11-08 09:05:42 +01:00
.prettierignore feat: collect styles in dev (#6343) 2026-01-10 04:07:23 +01:00
cloudflare.config.ts fix(start-plugin-core): include CSS in Rsbuild dev SSR when the server runs in workerd (#8889) 2026-11-08 09:05:42 +01:00
package.json fix(start-plugin-core): include CSS in Rsbuild dev SSR when the server runs in workerd (#8889) 2026-11-08 09:05:42 +01:00
playwright.config.ts fix(start-plugin-core): preload transitive static imports and fix Rsbuild shared-chunk CSS (#8695) 2026-10-13 01:07:27 +02:00
rsbuild.config.ts fix(start-plugin-core): include CSS in Rsbuild dev SSR when the server runs in workerd (#8889) 2026-11-08 09:05:42 +01:00
tsconfig.json chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00
vite.config.cloudflare.ts docs: update examples/e2e to vite 8 (#6958) 2026-03-17 20:37:11 +01:00
vite.config.ts fix(start-plugin-core): preload transitive static imports and fix Rsbuild shared-chunk CSS (#8695) 2026-10-13 01:07:27 +02:00
wrangler.jsonc fix: dev style with non runnable dev environments and basepath support (#6348) 2026-01-10 14:51:33 +01:00