We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4a97e commit f915542Copy full SHA for f915542
src/index.ts
@@ -65,7 +65,7 @@ interface Options {
65
class ForkTsCheckerWebpackPlugin {
66
static DEFAULT_MEMORY_LIMIT = 2048;
67
static ONE_CPU = 1;
68
- static ALL_CPUS = os.cpus() ? os.cpus().length : 1;
+ static ALL_CPUS = os.cpus ? os.cpus().length : 1;
69
static ONE_CPU_FREE = Math.max(1, ForkTsCheckerWebpackPlugin.ALL_CPUS - 1);
70
static TWO_CPUS_FREE = Math.max(1, ForkTsCheckerWebpackPlugin.ALL_CPUS - 2);
71
0 commit comments