X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.mjs;h=9b9aa8a76fadb59dba51accf10fd2ed7930f8caf;hb=86f8562e88a0bc282dc34bf81a6024a5b34a4220;hp=d365a3e43eb47ec4666b093e113984d1357c4102;hpb=b22597f8697096535962ea219a1e21d78402ce62;p=poolifier.git diff --git a/rollup.config.mjs b/rollup.config.mjs index d365a3e4..9b9aa8a7 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 typedoc') ] }