Skip to content

rsbuild does not seem to support react-router-v7's framework mode #27

@ClearLuvMoki

Description

@ClearLuvMoki

Version

System:
    OS: macOS 15.5
    CPU: (14) arm64 Apple M4 Pro
    Memory: 99.22 MB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 138.0.7204.170
    Safari: 18.5
  npmPackages:
    @rsbuild/core: ^1.4.3 => 1.4.11 
    @rsbuild/plugin-react: ^1.3.3 => 1.3.4

Details

I added react-router-v7 when using rsbuild, but found that css or module less were invalid and client rendering was used.

Reproduce link

https://github.com/ClearLuvMoki/rsbuild-router-v7

Reproduce Steps

pnpm install
pnpm run dev

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