Skip to content

Commit 865fa2e

Browse files
committed
chore: update
1 parent 09bf7aa commit 865fa2e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

website/docs/en/config/rsbuild/output.mdx

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ import { RsbuildDocBadge } from '@components/RsbuildDocBadge';
44

55
Options for build outputs.
66

7-
{/* ## output.assetPrefix <RsbuildDocBadge path="/config/output/asset-prefix" text="output.assetPrefix" /> */}
7+
## output.assetPrefix <RsbuildDocBadge path="/config/output/asset-prefix" text="output.assetPrefix" />
88

9-
{/* In [production mode](https://rsbuild.dev/config/mode), use this option to set the URL prefix for static assets, such as setting it to a CDN URL. */}
9+
Use this option to set the URL prefix for static assets, such as setting it to a CDN URL.
10+
11+
In cases where the [format](/config/lib/format) is set to `cjs` or `esm`, Rslib sets `output.assetPrefix` to `"auto"`.
1012

1113
## output.charset <RsbuildDocBadge path="/config/output/charset" text="output.charset" />
1214

0 commit comments

Comments
 (0)