@rspack/cli
Command-line interface for rspack.
Installation
pnpm add -D @rspack/cli
npm install -D @rspack/cli
yarn add -D @rspack/cli
Required dependencies
The rspack dev and rspack preview commands require @rspack/dev-server to be installed as a peer dependency:
pnpm add -D @rspack/dev-server
npm install -D @rspack/dev-server
yarn add -D @rspack/dev-server
If you try to use these commands without installing @rspack/dev-server, you will see a helpful error message with installation instructions.
Wasm test
See @rspack/test-tools for details.
Documentation
See https://rspack.rs for details.
License
Rspack is MIT licensed.