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

# output.minify.backgroundOptions

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

:::info Lynx-specific option
This option is added by `pluginLynx`, rather than Rsbuild. In `rsbuild.config.ts`, pass it to `pluginLynx({ ... })`.
:::

Overrides the Rsbuild `output.minify.jsOptions` for background-thread bundles.

## Remarks

This option is deep-merged into `output.minify.jsOptions`.
It is mainly used together with ReactLynx dual-thread outputs so that
main-thread and background-thread bundles can use different compress rules.
