Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Building with ssr: false doesn't seem to work #22

Open
@dangmai

Description

Thank you for this very useful plugin.

When I try to build a project with ssr: false, RSbuild still builds both client and server, and the client files don't seem to work on their own.

Here's a reproducible repo: https://github.com/dangmai/rr7-spa-rsbuild

There are 2 packages within it, one with Vite and one with RSbuild. Both are building the same project files, both with ssr: false in react-router-config.ts.

After the build, the Vite project contains a build/client directory with a clear index.html that can be deployed. Meanwhile, the RSbuild project contains both build/server and build/client, and the files in build/client don't seem to work on their own in the browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /