Skip to content

Commit 34ac6cc

Browse files
committed
Improve build speed
1 parent d688a85 commit 34ac6cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/app/config/webpack.common.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ module.exports = {
339339
query: babelConfig,
340340
},
341341
],
342+
threads: Math.max(1, require('os').cpus().length - 1),
342343
}),
343344
...(SANDBOX_ONLY
344345
? [

0 commit comments

Comments
 (0)