Skip to content

The Nx Plugin for Rsbuild contains executors and generators that support building applications using Rsbuild.

In any Nx workspace, you can install @nx/rsbuild by running the following command:

Terminal window
nx add @nx/rsbuild

This will install the correct version of @nx/rsbuild.

You can generate a new application that uses Rsbuild with the following command:

Terminal window
nx g @nx/react:app myapp --bundler=rsbuild

This will create a new application configured to use Rsbuild for building.