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:
31b5738
)
build(simulator): cleanup bundler configuration
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 28 May 2023 11:49:17 +0000
(13:49 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 28 May 2023 11:49:17 +0000
(13:49 +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 82b5b79aa27de94041111165e4d95eb415334288..795da6e8207c36936f44322d9f89bd45cc6df724 100644
(file)
--- a/
rollup.config.mjs
+++ b/
rollup.config.mjs
@@
-1,5
+1,5
@@
/* eslint-disable n/no-unpublished-import */
-import
os from '
os';
+import
{ cpus } from 'node:
os';
import json from '@rollup/plugin-json';
import terser from '@rollup/plugin-terser';
@@
-19,7
+19,7
@@
export default {
dir: 'dist',
format: 'esm',
sourcemap: !!isDevelopmentBuild,
- plugins: [terser({ maxWorkers:
os.
cpus().length / 2 })],
+ plugins: [terser({ maxWorkers: cpus().length / 2 })],
},
],
external: [