@hono/vite-dev-server
https://github.com/honojs/vite-plugins/tree/main/packages/dev-server
@hono/vite-dev-server is a Vite Plugin that provides a custom dev-server for fetch-based web applications like those using Hono. You can develop your application with Vite. It's fast.
viteの開発サーバをインターセプトして、自前のfetchなweb app(Honoなど)を動かせる
vite自体のサーバを裏で動かしつつ、並列してvite-dev-serverを動かす
index.htmlをどっちで扱うのか、というのがあるが、vite-dev-serverに任せるのが良い
結局デプロイするときにも、workerから返す必要があるので
また、adapterを指定することで開発サーバにenvを仕込める
wranglerのbindingも仕込める