repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73bfd59
)
build: ensure maxWorkers is an integer
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 22 Jul 2023 21:52:51 +0000
(23:52 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 22 Jul 2023 21:52:51 +0000
(23:52 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
rollup.config.mjs
patch
|
blob
|
blame
|
history
diff --git
a/rollup.config.mjs
b/rollup.config.mjs
index d88f9734de2f431f89c2a79ccc5038b88ee17f98..28b89d86ba9a550a80637b5d18217f569f42ec0d 100644
(file)
--- a/
rollup.config.mjs
+++ b/
rollup.config.mjs
@@
-9,7
+9,7
@@
const isDevelopmentBuild = process.env.BUILD === 'development'
const isAnalyzeBuild = process.env.ANALYZE
const isDocumentationBuild = process.env.DOCUMENTATION
-const maxWorkers =
cpus().length / 2
+const maxWorkers =
Math.floor(cpus().length / 2)
export default {
input: 'src/index.ts',