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

# tools.rspack

- **类型：** `Rspack.Configuration | Function | undefined`
- **默认值：** `undefined`

`tools.rspack` 选项用于修改 [Rspack](https://rspack.dev/) 的配置项。

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

<RsbuildConig />
