Skip to content

Latest commit

聽

History

History
29 lines (20 loc) 路 2.04 KB

AGENTS.md

File metadata and controls

29 lines (20 loc) 路 2.04 KB

Rspack

Rspack is a Rust-based JavaScript bundler with a webpack-compatible API.

Build and validation

Before testing changed code, build the artifacts those tests consume using the development commands.

Adding tests

  • Rust: Do not add new Rust tests in ordinary changes. New cases belong in dedicated test crates; do not add inline #[test] functions or crate-local unit tests.
  • JavaScript: Reuse existing runners and add cases under tests/rspack-test/{type}Cases/. Do not add top-level or suite-level test.js runners. Harness-required files inside a case, such as hookCases/**/test.js, are allowed.

Pull requests

References