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=73036251ff0e7ac2daa0b0031c77a3a429ba0e2d;hp=ee04284f1674d1c578cffc1233d64489ee346d3f;hpb=078116c1d8dde66831fcf40973059818592c8a88;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({