-
Notifications
You must be signed in to change notification settings - Fork 8
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
Labels
No labels