> For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt.

# output.filenameHash

- **类型：** `boolean | string`
- **默认值：** `true`

在生产模式构建后，是否在产物的文件名中添加 hash 值。

:::info
该配置项的使用方式与 Rsbuild 完全一致。详细信息请参考 [Rsbuild - output.filenameHash](https://v2.rsbuild.dev/zh/config/output/filename-hash)。
:::