Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/core/src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1199,9 +1199,10 @@ export interface OutputConfig {
* When using CDN in the production,
* you can use this option to set the URL prefix of static assets,
* similar to the `output.publicPath` config of Rspack.
* `auto` means use a relative path based on file location.
* @default `server.base`
*/
assetPrefix?: string;
assetPrefix?: string | 'auto';
/**
* Set the size threshold to inline static assets such as images and fonts.
* By default, static assets will be Base64 encoded and inline into the page if
Expand Down
Loading