---
title: rspack
configName: tools.rspack
---

# tools.rspack

- **Type:** `Rspack.Configuration | Function | undefined`
- **Default:** `undefined`

`tools.rspack` is used to configure [Rspack](https://rspack.dev/).

import RsbuildConig from '@site-docs-en/components/rsbuild-config-tooltip';

<RsbuildConig />
