Skip to content

Commit

Permalink
feat: add extend component
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Sep 12, 2024
1 parent 6b69b72 commit 3705227
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ configName: output.assetPrefix

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

import OutputAssetPrefixExtend from '@site-docs-en/components/output-asset-prefix-extend';

<OutputAssetPrefixExtend />

import RsbuildConig from '@site-docs-en/components/rsbuild-config-tooltip';

<RsbuildConig />
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ configName: output.polyfill

Via `output.polyfill` you can configure how the polyfill is injected.

import OutputPolyfillExtend from '@site-docs-en/components/output-polyfill-extend';

<OutputPolyfillExtend />

import RsbuildConig from '@site-docs-en/components/rsbuild-config-tooltip';

<RsbuildConig />
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ configName: output.assetPrefix

在生产环境使用 CDN 部署时,可使用该选项设置静态资源的 URL 前缀。

import OutputAssetPrefixExtend from '@site-docs-en/components/output-asset-prefix-extend';

<OutputAssetPrefixExtend />

import RsbuildConig from '@site-docs/components/rsbuild-config-tooltip';

<RsbuildConig />
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ configName: output.polyfill

通过 `output.polyfill` 你可以配置 Polyfill 的注入方式。

import OutputPolyfillExtend from '@site-docs-en/components/output-polyfill-extend';

<OutputPolyfillExtend />

import RsbuildConig from '@site-docs/components/rsbuild-config-tooltip';

<RsbuildConig />

0 comments on commit 3705227

Please sign in to comment.