Please see prerequisites for setting up Rust and Node.js.
Install Node.js dependencies via pnpm.
cargo build
to compile Rust code.pnpm run build:cli:debug
to compile both Node.js and Rust code.The built binary is located at packages/rspack-cli/bin/rspack
.