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

# output.minify.backgroundOptions

> `optional` **backgroundOptions?**: `SwcJsMinimizerRspackPluginOptions`

:::info Lynx 新增配置
此配置由 `pluginLynx` 新增，不属于 Rsbuild 配置。在 `rsbuild.config.ts` 中，将它传给 `pluginLynx({ ... })`。
:::

为后台线程 bundle 覆盖 Rsbuild 的 `output.minify.jsOptions`。

## Remarks

该选项会被深度合并到 `output.minify.jsOptions` 中。它主要与 ReactLynx 的双线程产物配合使用，使主线程和后台线程的 bundle 可以使用不同的压缩规则。
