The configuration file for electron-rsbuild
is electron.rsbuild.config.ts
, with the following example configuration:
Special note: The rsbuild
plugin @rsbuild/plugin-react in React projects needs to be manually installed. To avoid interfering with rsbuild configuration, it is not provided here.
For configuration items, please refer to the relevant config section of rsbuild
.