X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.mjs;h=017ca1b9bee2ea0a1ee01ec6939248a7a23f0a3a;hb=15bb637a91abd156aae586ce14c663101a8c6697;hp=d365a3e43eb47ec4666b093e113984d1357c4102;hpb=b22597f8697096535962ea219a1e21d78402ce62;p=poolifier.git diff --git a/rollup.config.mjs b/rollup.config.mjs index d365a3e4..017ca1b9 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -34,7 +34,14 @@ export default { ...(!isDevelopmentBuild && { plugins: [terser({ maxWorkers: 2 })] }) } ], - external: ['async_hooks', 'cluster', 'events', 'os', 'worker_threads'], + external: [ + 'node:async_hooks', + 'node:cluster', + 'node:crypto', + 'node:events', + 'node:os', + 'node:worker_threads' + ], plugins: [ typescript({ tsconfig: isDevelopmentBuild @@ -45,6 +52,6 @@ export default { targets: ['lib/*'] }), isAnalyze && analyze(), - isDocumentation && command('npm run typedoc') + isDocumentation && command('pnpm run typedoc') ] }