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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy