feat(edge): edgeHandler adapter — HTTP+SSE+WS on Cloudflare Workers via /edge subpath

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-09 23:22:28 -05:00
1 parent 86c206d2c9
commit 9344cc7d43
3 files changed
+119 -1

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import { defineConfig } from 'tsup';
// tsup injects a createRequire shim into the ESM output so the lazy require('ws') / require('busboy')
// (optional peer deps) keep working there. reflect-metadata and the peer deps stay external.
export default defineConfig({
entry: ['src/index.ts', 'src/deno.ts', 'src/bun.ts'],
entry: ['src/index.ts', 'src/deno.ts', 'src/bun.ts', 'src/edge.ts'],
format: ['cjs', 'esm'],
dts: true,
clean: true,