Vercel now natively supports Hono, a fast, lightweight backend framework built on web standards, with zero-configuration. Unleash the power of Hono with full Node.js support.
Hi @anthony-shew, where do you expect static assets? A ./public folder doesn’t work - and everything else I tried neither.
The closest I got was defining builds in vercel.json. I got my static resources deployed to a /public/ subdirectory - and a broken hono app not mounted at /.
Hi @anthony-shew , it appears that the zero-configuration hono build script is broken.
The starter example does not work when deployed on Vercel, if you have any relative imports.
import { Hono } from 'hono'
// This breaks the build stage on Vercel
import something from './myfile'
const app = new Hono().basePath('/api')
export default app