1 /* eslint-disable n/no-unpublished-import */
2 import typescript from '@rollup/plugin-typescript'
3 import del from 'rollup-plugin-delete'
4 import { defineConfig } from 'rollup'
6 export default defineConfig({
9 './src/websocket-server-worker.ts',
10 './src/request-handler-worker.ts'
12 strictDeprecations: true,
18 entryFileNames: '[name].cjs',
19 preserveModules: true,
20 preserveModulesRoot: './src'
26 preserveModules: true,
27 preserveModulesRoot: './src'
30 external: ['node:path', 'node:url', 'poolifier', 'ws'],