X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-cluster%2Frollup.config.ts;h=5e0a32d4d5929abcba7148da4c01916f21b70182;hb=eea9f8d7f367e79b2ab86f62a9504e3a93b6db14;hp=ee04284f1674d1c578cffc1233d64489ee346d3f;hpb=c2515a41c44109efe5dfcb92db2fbc95dc5912ba;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-cluster/rollup.config.ts b/examples/typescript/http-server-pool/fastify-cluster/rollup.config.ts index ee04284f..5e0a32d4 100644 --- a/examples/typescript/http-server-pool/fastify-cluster/rollup.config.ts +++ b/examples/typescript/http-server-pool/fastify-cluster/rollup.config.ts @@ -1,6 +1,6 @@ import typescript from '@rollup/plugin-typescript' -import del from 'rollup-plugin-delete' import { defineConfig } from 'rollup' +import del from 'rollup-plugin-delete' export default defineConfig({ input: ['./src/main.ts', './src/worker.ts'], @@ -19,7 +19,7 @@ export default defineConfig({ sourcemap: true } ], - external: ['fastify', 'node:path', 'node:url', 'poolifier'], + external: ['fastify', /^node:*/, 'poolifier'], plugins: [ typescript(), del({