Skip to content

Commit

Permalink
docs: modify some statements
Browse files Browse the repository at this point in the history
  • Loading branch information
JSerFeng committed Aug 8, 2024
1 parent ada8a2a commit 4cb802e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/en/plugins/webpack/split-chunks-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ module.exports = {
- **Type:** `boolean`
- **Default** `false`

Whether to reuse existing chunks when possible. For example:
Whether to reuse existing chunks when possible. If so, after splitting, the newly created chunk contains modules that are exactly the same as those in the original chunk, the original chunk will be reused, and no new chunk will be generated, which may affect the final filename of the chunk. For example:

```
chunk Foo: [ module A, module B ]
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/plugins/webpack/split-chunks-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ module.exports = {
- **类型:** `boolean`
- **默认值:** `false`

是否重用现有的 chunk。举例
是否重用现有的 chunk。如果经过拆分后新产生的 chunk 中包含的模块和原 chunk 中包含的模块完全一致,则原 chunk 会被复用,不会生成新的 chunk,这可能会影响 chunk 最终的文件名。举例:

```
chunk Foo: [ module A, module B ]
Expand Down

0 comments on commit 4cb802e

Please sign in to comment.