X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-hybrid%2Frollup.config.ts;fp=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-hybrid%2Frollup.config.ts;h=ae79b9bcf0e0b04525c6ee13ce14ff0728bfc454;hb=3a5027122ca6401ae1d755843b20f714c61e3240;hp=6bb949aa6a7bcab8e3e54d8a47a60950996b9a30;hpb=937d524da3a5cce4795b85ddd1c430f0d184f731;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-hybrid/rollup.config.ts b/examples/typescript/http-server-pool/fastify-hybrid/rollup.config.ts index 6bb949aa..ae79b9bc 100644 --- a/examples/typescript/http-server-pool/fastify-hybrid/rollup.config.ts +++ b/examples/typescript/http-server-pool/fastify-hybrid/rollup.config.ts @@ -6,7 +6,7 @@ export default defineConfig({ input: [ './src/main.ts', './src/fastify-worker.ts', - './src/request-handler-worker.ts' + './src/request-handler-worker.ts', ], strictDeprecations: true, output: [ @@ -15,19 +15,19 @@ export default defineConfig({ dir: './dist', sourcemap: true, entryFileNames: '[name].cjs', - chunkFileNames: '[name]-[hash].cjs' + chunkFileNames: '[name]-[hash].cjs', }, { format: 'esm', dir: './dist', - sourcemap: true - } + sourcemap: true, + }, ], external: ['fastify', 'fastify-plugin', /^node:*/, 'poolifier'], plugins: [ typescript(), del({ - targets: ['./dist/*'] - }) - ] + targets: ['./dist/*'], + }), + ], })