Skip to content

Commit eb97e48

Browse files
committed
docs: improve parallel option docs [ci skip]
1 parent 2257034 commit eb97e48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ module.exports = {
344344
- Type: `boolean`
345345
- Default: `require('os').cpus().length > 1`
346346

347-
Whether to use `thread-loader` for Babel or TypeScript transpilation.
347+
Whether to use `thread-loader` for Babel or TypeScript transpilation. This is enabled for production builds when the system has more than 1 CPU cores.
348348

349349
### pwa
350350

docs/zh/config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ module.exports = {
342342
- Type: `boolean`
343343
- Default: `require('os').cpus().length > 1`
344344

345-
是否为 Babel 或 TypeScript 使用 `thread-loader`
345+
是否为 Babel 或 TypeScript 使用 `thread-loader`该选项在系统的 CPU 有多于一个内核时自动启用,仅作用于生产构建。
346346

347347
### pwa
348348

0 commit comments

Comments
 (0)