tiny-sprite/src/dev/server.tsx
Corey Johnson 23472bae66 feat: add dev server
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 11:19:31 -08:00

15 lines
283 B
TypeScript

#!/usr/bin/env bun
import { Hono } from "hono"
import { serveStatic } from "hono/bun"
import index from "./index.html"
const app = new Hono()
app.use("/public/*", serveStatic({ root: "./" }))
app.get("/", (c) => c.html(index))
export default {
port: 3000,
fetch: app.fetch,
}