build: switch rollup configuration to TS
[poolifier.git] / examples / typescript / http-server-pool / fastify-hybrid / rollup.config.mjs
diff --git a/examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs b/examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs
deleted file mode 100644 (file)
index a8c4e47..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/* eslint-disable n/no-unpublished-import */
-import typescript from '@rollup/plugin-typescript'
-import del from 'rollup-plugin-delete'
-import { defineConfig } from 'rollup'
-
-export default defineConfig({
-  input: [
-    './src/main.ts',
-    './src/fastify-worker.ts',
-    './src/request-handler-worker.ts'
-  ],
-  strictDeprecations: true,
-  output: [
-    {
-      format: 'cjs',
-      dir: './dist',
-      sourcemap: true,
-      entryFileNames: '[name].cjs',
-      chunkFileNames: '[name]-[hash].cjs'
-    },
-    {
-      format: 'esm',
-      dir: './dist',
-      sourcemap: true
-    }
-  ],
-  external: ['fastify', 'fastify-plugin', 'node:path', 'node:url', 'poolifier'],
-  plugins: [
-    typescript(),
-    del({
-      targets: ['./dist/*']
-    })
-  ]
-})