From 6b275cfe6833b410d3f59b4e6ba77fee5a26f245 Mon Sep 17 00:00:00 2001 From: Gabriel Csapo Date: Mon, 3 Nov 2025 02:35:21 -0500 Subject: [PATCH 1/2] docs(rolldown): fix advanced chunks link (#21031) --- guide/rolldown.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/rolldown.md b/guide/rolldown.md index 04f650d8..efb21217 100644 --- a/guide/rolldown.md +++ b/guide/rolldown.md @@ -111,7 +111,7 @@ If you don't pass the option in yourself, this must be fixed by the utilized fra #### `manualChunks` to `advancedChunks` -While Rolldown has support for the `manualChunks` option that is also exposed by Rollup, it is marked deprecated. Instead of it, Rolldown offers a more fine-grained setting via the [`advancedChunks` option](https://rolldown.rs/guide/in-depth/advanced-chunks#advanced-chunks), which is more similar to webpack's `splitChunk`: +While Rolldown has support for the `manualChunks` option that is also exposed by Rollup, it is marked deprecated. Instead of it, Rolldown offers a more fine-grained setting via the [`advancedChunks` option](https://rolldown.rs/in-depth/advanced-chunks), which is more similar to webpack's `splitChunk`: ```js // Old configuration (Rollup) From e9ec3cc77d40c10ac5d20be6946fe4c5cf9a3ecc Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Tue, 4 Nov 2025 08:14:56 +0800 Subject: [PATCH 2/2] resolved conlict --- guide/rolldown.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/guide/rolldown.md b/guide/rolldown.md index fae0c276..7f6b3d2d 100644 --- a/guide/rolldown.md +++ b/guide/rolldown.md @@ -111,11 +111,7 @@ Rolldown 专注于三个主要原则: #### `manualChunks` 改为 `advancedChunks` {#manualchunks-changed-to-advancedchunks} -<<<<<<< HEAD -虽然 Rolldown 支持与 Rollup 相同的 `manualChunks` 选项,但该选项已被标记为过时。作为替代,Rolldown 通过 [`advancedChunks` 选项](https://rolldown.rs/guide/in-depth/advanced-chunks#advanced-chunks) 提供更精细的设置,该选项与 webpack 的 `splitChunk` 功能更为相似: -======= -While Rolldown has support for the `manualChunks` option that is also exposed by Rollup, it is marked deprecated. Instead of it, Rolldown offers a more fine-grained setting via the [`advancedChunks` option](https://rolldown.rs/in-depth/advanced-chunks), which is more similar to webpack's `splitChunk`: ->>>>>>> 6b275cfe6833b410d3f59b4e6ba77fee5a26f245 +虽然 Rolldown 支持与 Rollup 相同的 `manualChunks` 选项,但该选项已被标记为过时。作为替代,Rolldown 通过 [`advancedChunks` 选项](https://rolldown.rs/in-depth/advanced-chunks) 提供更精细的设置,该选项与 webpack 的 `splitChunk` 功能更为相似: ```js // 旧配置 (Rollup)