Skip to content

Load the SSR build from a custom outDir

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:26
Immutable release. Only release title and notes can be modified.

6.0.5 (2026-11-27)

Bug Fixes

  • loadServerModule() finds the SSR build when the app writes it to a custom outDir. Set environments.ssr.build.outDir in vite.config.ts, and the same path as the new serverBuildDirectory option in config/vite.ts. With no new setting, it reads <buildDirectory>/server/.vite/manifest.json, as before. See the Vite guide (#60, closes #42).
  • With serverEntryPoints, a build with environments.ssr.build.manifest: false fails with an error that says loadServerModule() needs the SSR manifest. Before, the app failed later, in production (#60).
  • The default manifestFile is the same on each platform (#60).

Full changelog: v6.0.4...v6.0.5