plugins
is used to register Rsbuild plugins.
Rstest and Rsbuild share the same plugin system, so you can use Rsbuild plugins in Rstest.
You can register Rsbuild plugins in rstest.config.*
using the plugins
option, see Rsbuild - plugins.
The following are official plugins that can be used in Rsbuild, and applicable to Rstest.
Plugins available for React:
Plugins available for Vue:
Plugins available for Preact:
Plugins available for Svelte:
.svelte
files).Plugins available for Solid:
The following are common framework-agnostic plugins:
publint
to lint npm packages after the build.You can find the source code of all official plugins in web-infra-dev/rsbuild and rspack-contrib.
You can check out the Rsbuild plugins provided by the community at awesome-rspack - Rsbuild Plugins.
You can also discover more Rsbuild plugins on npm by searching for the keyword rsbuild-plugin.