feat(deno): serveDeno adapter — HTTP+SSE+WS on Deno via /deno subpath
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
3 files changed
+122
-1
No files matched your search
+1
-1
@@ -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'],
|
||||
entry: ['src/index.ts', 'src/deno.ts'],
|
||||
format: ['cjs', 'esm'],
|
||||
dts: true,
|
||||
clean: true,
|
||||
|
||||
Reference in new issue
Block a user