Fix bundled CLI to explicitly call Bun.serve()

The bundle doesn't use export default, so the server
needs to be started explicitly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Corey Johnson 2026-03-12 15:53:14 -07:00
parent 839f4fa4fd
commit 01d72a31e6

3
cli.ts
View File

@ -1,2 +1,3 @@
#!/usr/bin/env bun
import './src/server'
import server from './src/server'
Bun.serve(server)