https://github.com/electron-rsbuild/docs
📃Documentation for Electron Rsbuild
https://github.com/electron-rsbuild/docs
electron electron-rsbuild rsbuild
Last synced: 5 months ago
JSON representation
📃Documentation for Electron Rsbuild
- Host: GitHub
- URL: https://github.com/electron-rsbuild/docs
- Owner: electron-rsbuild
- Created: 2024-11-14T06:53:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-20T07:31:31.000Z (8 months ago)
- Last Synced: 2025-10-20T09:30:52.142Z (8 months ago)
- Topics: electron, electron-rsbuild, rsbuild
- Language: TypeScript
- Homepage: https://electron-rsbuild.org
- Size: 1.94 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Election-rsbuild docs
Documentation for Electron Rsbuild
> Bun [not support rsbuild](https://github.com/oven-sh/bun/issues/11628),don't use it.
## Features
- based on [rsbuild](https://github.com/web-infra-dev/rsbuild)
- Plug-in implementation
- Hot module replacement
## Quick Start
Create the `Electron-rsbuild` project:
pnpm:
```shell
pnpm create electron-rsbuild@0.0.12
```
## Playground snapshot
Use `npm create electron-rsbuild@0.0.12` create a `electron-rsbuild` project:

Use `pnpm run dev` launch electron:

## Configuring .npmrc
For Chinese users, consider adding `.npmrc` to the root directory to speed up installation:
```yml
electron_mirror=https://npmmirror.com/mirrors/electron/
electron_builder_binaries_mirror=https://npmmirror.com/mirrors/electron-builder-binaries/
```
## Reference
- [rsbuild](https://github.com/web-infra-dev/rsbuild)
- [rspack](https://github.com/web-infra-dev/rspack)
- [vite](https://github.com/vitejs/vite)
- [electron-vite](https://github.com/alex8088/electron-vite)
- [electron](https://github.com/electron/electron)