...(!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
targets: ['lib/*']
}),
isAnalyze && analyze(),
- isDocumentation && command('npm run typedoc')
+ isDocumentation && command('pnpm typedoc')
]
}