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-10-19.
10 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 120 changes
New APIs and options 10
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.
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.
Adds the ssrTarget option.
Vercel helpers can now be configured.
Multiple function outputs can now be configured for Vercel.
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.
Static path discovery now reads outDir when publicDir does not exist, allowing serveStatic middleware to be injected.
Enables the staticPaths option.
The Bun adapter build output preserves an entry's websocket handler in the generated default export, preventing WebSocket upgrade failures.
The Bun adapter automatically externalizes the bare bun specifier.
User externals are propagated to rollupOptions.external.