repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e46d88d
)
build: ensure an integer value at // build
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 22 Jul 2023 21:50:52 +0000
(23:50 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 22 Jul 2023 21:50:52 +0000
(23:50 +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 1034ffc812825d1adcc7005ac13ce24f48b8f02d..6ee51a63bdfeb0a07f13f52361bc378785c11a36 100644
(file)
--- a/
rollup.config.mjs
+++ b/
rollup.config.mjs
@@
-19,7
+19,7
@@
export default {
dir: 'dist',
format: 'esm',
sourcemap: !!isDevelopmentBuild,
- plugins: [terser({ maxWorkers:
cpus().length / 2
})],
+ plugins: [terser({ maxWorkers:
Math.floor(cpus().length / 2)
})],
},
],
external: [