Installation
System Requirements:
- Node.js 18 or later.
- Requires Node.js 18.19 when using TypeScript as configuration.
Creating a New Project using Create Rspeedy
We recommend starting a new Rspeedy app using create-rspeedy,
which sets up everything automatically for you. To create a project, run:
After the prompts, create-rspeedy will create a folder with your project name and install the required dependencies.
Enable Type Checking (optional)
Using fork-ts-checker-webpack-plugin
The @rsbuild/plugin-type-check integrates
with fork-ts-checker-webpack-plugin.
It can be directly used in Rspeedy!
Begin by installing the plugin using your preferred package management tool:
Next, incorporate the plugin into your configuration file by adding it to the relevant section:
Now, both your npm run dev and npm run build will build the projects with type checking!
- During development builds, type errors do not block the build process. They are only logged in the terminal.
- During production builds, type errors cause the build to fail in order to ensure the stability of the production code.
For more detailed options, please refer to @rsbuild/plugin-type-check.
Using tsc
Enabling type checking in ReactLynx is also possible.
This can be achieved by simply adding a typecheck script in the package.json file:
Then, run npm run typecheck to check the TypeScript files.

