In this document, you will learn how to build a Solid application using Rsbuild.
You can use create-rsbuild to create a project with Rsbuild + Solid. Just execute the following command:
Then select Solid when prompted to "Select framework".
To compile Solid components, you need to register the Rsbuild Solid plugin. The plugin will automatically add the necessary configuration for Solid builds.
For example, register in rsbuild.config.ts: