@implementjs/adapter-vercel
v0.0.20
Published
Builds an implement kit app for Vercel, through the Build Output API.
Maintainers
Readme
@implementjs/adapter-vercel
Builds an implement kit app for Vercel, through the Build Output API.
npm install -D @implementjs/adapter-vercel// vite.config.ts
import adapter from "@implementjs/adapter-vercel";
import { kit } from "@implementjs/kit";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [kit({ adapter: adapter() })],
});vite build writes .vercel/output: everything prerendered as static files on the CDN, and
the app as a bundled Node function behind them for whatever the filesystem misses. Deploy it
with vercel deploy --prebuilt. The runtime, regions, memory and max duration are all
options.
Full documentation: implementjs.dev/kit/adapters
