Skip to content

Commit 26d6df6

Browse files
Merge pull request #453 from neal95/patch-1
Update build.md
2 parents 3534bb7 + 3bd6328 commit 26d6df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/build.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module.exports = defineConfig({
5555
})
5656
```
5757

58-
This strategy is also provided as a `splitVendorChunk({ cache: SplitVendorChunkCache })` factory, in case composition with custom logic is needed. `cache.reset()` needs to be called at `buildStart` for build watch mode to work correctly in this case.
58+
同时这个策略也被作为 `splitVendorChunk({ cache: SplitVendorChunkCache })` 工厂函数,在需要使用自定义逻辑时可以进行组合。必须确保 `cache.reset()` `buildStart` 阶段调用,以保证构建时监听模式能够正常工作。
5959

6060
## 文件变化时重新构建 {#rebuild-on-files-changs}
6161

0 commit comments

Comments
 (0)