Vercel Functions support the Web StandardDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/elysiajs/documentation/llms.txt
Use this file to discover all available pages before exploring further.
Request/Response API by default, so Elysia runs on Vercel without any additional configuration or adapters. You can use either the Bun or Node.js runtime depending on your deployment target.
Create and export your Elysia app
In
src/index.ts, define your Elysia server and export it as the default export.Using Node.js
To deploy with the Node.js runtime, set"type": "module" in your package.json:
Using Bun
To deploy with the Bun runtime, set the Bun version invercel.json:
pnpm peer dependencies
If you use pnpm, install peer dependencies manually:For additional configuration options, refer to the Vercel documentation for Elysia.