Skip to content

andrewschreiber/electron-rspack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron-Rspack Banner

electron-rspack

discord channel npm version downloads node version license

English | Portuguese | 简体中文

electron-rspack is a high-performance Electron build tool powered by Rspack. The easiest way to 10x the bundling speed of an Electron app on Webpack.

🚀 Features

electron-rspack offers the following features:

  • Electron-Optimized: Built specifically for Electron applications, with separate configurations for main and renderer processes.

  • Powered by Rspack: Leverages the high-performance Rust-based Rspack bundler for blazing fast builds.

  • Zero Configuration: Start building your Electron application with minimal setup required.

  • TypeScript Support: First-class support for TypeScript in both main and renderer processes.

  • Hot Module Replacement: Fast development workflow with HMR support for the renderer process.

  • Production Ready: Optimized production builds with proper code splitting and minification.

📚 Getting Started

To get started with electron-rspack, see the Quick Start.

Install

npm create electron-rspack@latest

🎯 Ecosystem

The following diagram illustrates the relationship between Electron-Rspack and other tools in the ecosystem:

Rspack stack layers

🦀 Links

  • Rspack: A fast Rust-based web bundler.
  • Rspress: A fast static site generator based on Electron-Rspack.
  • Rsdoctor: A one-stop build analyzer for Rspack and webpack.
  • Rslib: The library build tool powered by Electron-Rspack.
  • Modern.js: A progressive React framework based on Electron-Rspack.
  • awesome-rspack: A curated list of awesome things related to Rspack and Electron-Rspack.
  • rspack-examples: Examples for Rspack, Electron-Rspack, Rspress and Rsdoctor.
  • storybook-rsbuild: Storybook builder powered by Electron-Rspack.
  • rsbuild-plugin-template:Use this template to create your own Electron-Rspack plugin.
  • rstack-design-resources:Design resources for Rspack, Electron-Rspack, Rspress and Rsdoctor.

🤝 Contribution

New contributors welcome!

Please read the Contributing Guide.

Contributors




Contributors of web-infra-dev/rsbuild New trends of web-infra-dev
Contributors of web-infra-dev/rsbuild

Code of Conduct

This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of Conduct for more details.

🧑‍💻 Community

Come and chat with us on Discord! The Rspack / Electron-Rspack team and users are active there, and we're always looking for contributions.

🌟 Quality

Electron-Rspack uses Web Infra QoS to observe the trend of key metrics, such as bundle size, compile speed and install size.

🙏 Credits

Some of the implementations of Electron-Rspack have drawn inspiration from outstanding projects in the community. We would like to express our gratitude to them:

This Electron-Rspack website is powered by Netlify.

📖 License

Electron-Rspack is licensed under the MIT License.