ReferenceTooling
Edit this page

Tooling

Production Build Output for Bun React SSR Apps

Inspect the react-bun-ssr production build output, including client assets, route manifests, copied public files, and the Bun server entry.

buildmanifestdist

rbssr build produces a dist/ directory that is ready to run under Bun.

Typical output

dist/
  client/
    *.js
    *.css
    favicon.svg
  manifest.json
  server/
    server.mjs

Why the manifest exists

The server needs to know which client script and CSS files belong to each route so it can inject the right assets into the streamed document.

Rules

  • Treat manifest.json as generated source of truth.
  • Hashed client bundles are long-lived and immutable in production.
  • Public files are copied into dist/client during the build.

Next step

Deploy the built app with Bun Deployment.