repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509e904
)
build: cleanup bundler configuration
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 28 May 2023 11:47:19 +0000
(13:47 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 28 May 2023 11:47:19 +0000
(13:47 +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 0d5964e544f2ff89ed258e88e9500301ce820a66..7454ef722b2fa32c8987187ec7fb12b5faeb0602 100644
(file)
--- a/
rollup.config.mjs
+++ b/
rollup.config.mjs
@@
-1,4
+1,4
@@
-import
os from '
os'
+import
{ cpus } from 'node:
os'
import terser from '@rollup/plugin-terser'
import typescript from '@rollup/plugin-typescript'
import analyze from 'rollup-plugin-analyzer'
@@
-9,7
+9,7
@@
const isDevelopmentBuild = process.env.BUILD === 'development'
const isAnalyzeBuild = process.env.ANALYZE
const isDocumentationBuild = process.env.DOCUMENTATION
-const maxWorkers =
os.
cpus().length / 2
+const maxWorkers = cpus().length / 2
export default {
input: 'src/index.ts',