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

# output.assetPrefix

- **Type:** `string | 'auto'`
- **Default:** `'/'`

In production mode, use this option to set the URL prefix for static assets, such as setting it to a CDN URL.


:::info
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to [Rsbuild - output.assetPrefix](https://v2.rsbuild.dev/config/output/asset-prefix).
:::