chore: generate documentation
[poolifier.git] / rollup.config.mjs
index 44e837d396ab273331cbdb02af9d184123bfd1dd..9b9aa8a76fadb59dba51accf10fd2ed7930f8caf 100644 (file)
@@ -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('pnpm run typedoc')
+    isDocumentation && command('pnpm typedoc')
   ]
 }