npm / @hono/vite-build
@hono/vite-build
What changed in @hono/vite-build 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
11 new APIs and options1 tooling9 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@hono/vite-build 121 changes
New APIs and options 11
Exports defaultOptions from the Cloudflare Workers adapter.
Adds a Deno adapter.
Adds a Netlify Functions build adapter that compiles Hono apps for the Netlify Functions runtime, exports a config with function path /* and preferStatic true, and does not target Netlify Edge Functions.
Adds a Vercel build adapter that compiles Hono apps for the Vercel Build Output API and produces output for Vercel Serverless Functions, not Edge Runtime.
The Node.js adapter supports the port option.
Adds the preset option.
Multiple function outputs can now be configured for Vercel.
Vercel helpers can now be configured.
Adds the @hono/hono preset for the Deno adapter.
Adds the ssrTarget option.
The Node adapter adds shutdownTimeoutMs to enable graceful shutdown on SIGINT/SIGTERM; set a timeout in milliseconds or 0 to wait indefinitely for connections to close.
Tooling 1
Builds can now support non-fetch handlers for Cloudflare Workers.
Fixes and other changes 9
Fixes the option types of the Cloudflare Workers adapter.
Corrects the CloudflareWorkersBuildOptions type.
Adds support for a fetch export.
Fixes support for the latest hono.
Enables the staticPaths option.
The Bun adapter automatically externalizes the bare bun specifier.
User externals are propagated to rollupOptions.external.
Static path discovery now reads outDir when publicDir does not exist, allowing serveStatic middleware to be injected.
The Bun adapter build output preserves an entry's websocket handler in the generated default export, preventing WebSocket upgrade failures.