Skip to content

Commit

Permalink
docs: fix splitRouteChunks link (#6323)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy authored Sep 30, 2024
1 parent 6727a38 commit 9c8f953
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type InlineScripts =
Whether to inline output scripts files (.js files) into HTML with `<script>` tags.

:::tip
When using convention-based routing, you need to set [output.splitRouteChunks](https://modernjs.dev/en/configure/app/output/splitRouteChunks.html) to false if this option is turned on.
When using convention-based routing, you need to set [output.splitRouteChunks](/configure/app/output/split-route-chunks) to false if this option is turned on.
:::

import RsbuildConig from '@site-docs-en/components/rsbuild-config-tooltip';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type InlineStyles =
Whether to inline output style files (.css files) into HTML with `<style>` tags.

:::tip
When using convention-based routing, you need to set [output.splitRouteChunks](https://modernjs.dev/en/configure/app/output/splitRouteChunks.html) to false if this option is turned on.
When using convention-based routing, you need to set [output.splitRouteChunks](/configure/app/output/split-route-chunks) to false if this option is turned on.
:::

import RsbuildConig from '@site-docs-en/components/rsbuild-config-tooltip';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type InlineScripts =
用来控制是否用 `<script>` 标签将产物中的 script 文件(.js 文件)inline 到 HTML 中。

:::tip
当使用约定式路由时,如果开启了这个选项,需要将 [output.splitRouteChunks](https://modernjs.dev/configure/app/output/splitRouteChunks.html) 设置为 false。
当使用约定式路由时,如果开启了这个选项,需要将 [output.splitRouteChunks](/configure/app/output/split-route-chunks) 设置为 false。
:::

import RsbuildConig from '@site-docs/components/rsbuild-config-tooltip';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type InlineStyles =
用来控制是否用 `<style>` 标签将产物中的 style 文件(.css 文件)inline 到 HTML 中。

:::tip
当使用约定式路由时,如果开启了这个选项,需要将 [output.splitRouteChunks](https://modernjs.dev/configure/app/output/splitRouteChunks.html) 设置为 false。
当使用约定式路由时,如果开启了这个选项,需要将 [output.splitRouteChunks](/configure/app/output/split-route-chunks) 设置为 false。
:::

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

0 comments on commit 9c8f953

Please sign in to comment.