From 7c28559ccffeaaf2cdcd610f95a0ab63e7d1eca0 Mon Sep 17 00:00:00 2001 From: Daniel Waltz Date: Mon, 12 Aug 2019 02:29:25 -0400 Subject: [PATCH] Update parallel config description (#4420) --- docs/config/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config/README.md b/docs/config/README.md index d05f06d447..2c6200c0c5 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -375,10 +375,10 @@ In v3 this means the opposite of `css.requireModuleExtension`. ### parallel -- Type: `boolean` +- Type: `boolean | number` - Default: `require('os').cpus().length > 1` - 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. + 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. Passing a number will define the amount of workers used. ### pwa