Contributing guide
We are grateful for your interest in contributing to Rspack!
Every single contribution counts and helps us take Rspack to the next level.
Asking questions
If you have any questions, please do not hesitate to ask either in the Discord support channel or on the GitHub discussion board.
Minimal reproduction
The Rspack repro template can be used to create a minimal reproducible example.
A minimal reproducible example (MRE) is a code that is:
- Short
- Self-contained
- Demonstrates the problem being encountered
An MRE is essential because it allows us to quickly understand and reproduce your issue. This, in turn, increases the likelihood of getting a helpful and accurate response in a shorter amount of time. It is important to note that an MRE should not include extraneous code related to unrelated functionality, and should instead focus solely on the problem at hand.
Please see also How to create a Minimal, Reproducible Example from Stack Overflow.
What should I work on?
Good first issue
If you are looking to dive into the codebase and get started, we recommend checking out our issue list labeled with good first issue. This will help you get acquainted with the project and start contributing.
Tracking issue
If you are interested in understanding our project's direction and want to work on issues that are aligned with our priorities, our tracking issues list provides an overview of our progress and current goals.
Sending pull request
- Fork the Rspack repository into your own GitHub account.
- Clone the repository to your local.
- Checkout a new branch from
main. - Set up the development environment, you can read the Prerequisites section to learn about it.
- If you've fixed a bug or added code that should be tested, then add some tests.
- Make sure all the tests pass, you can read the Testing section below to learn about it.
- Run
pnpm run lint:jsandpnpm run lint:rsto check the code style. - Submit the Pull Request, make sure all CI runs pass.
- The maintainers will review your Pull Request soon.
When submitting a Pull Request, please note the following:
- Keep your PRs small enough, so that each PR only addresses a single issue or adds a single feature.
- Please include an appropriate description in the PR, and link related issues.
Format of PR titles
The format of PR titles follow Conventional Commits.
An example:
If your PR contains any breaking changes, please append a ! after the type/scope, then add the release: breaking change GitHub label.
Other ways to contribute
We are always looking for contributors, and that goes beyond just our main repository.
Check out these other ways to get involved and start making a difference today.
- The documentation site is at web-infra-dev/rspack/website
- The community packages are at github.com/rspack-contrib
- Welcome to add Rspack related projects to awesome-rspack
As a reminder, all contributors are expected to follow our Code of Conduct.

