@sigx/vercel · Stable

Vercel#

Generates the complete .vercel/output layout on every build — static assets, the bundled render function and the route table — on the Node runtime (default) or the edge. Deploy with vercel deploy --prebuilt.

v0.13.0 MIT

Installation#

Terminal
pnpm add -D @sigx/vercel

Usage#

TypeScript
// vite.config.vercel.ts
import { defineConfig } from 'vite';
import sigx from '@sigx/vite';
import { vercel } from '@sigx/vercel';

export default defineConfig({
    plugins: [sigx({ ssr: { entry: 'src/entry-server.tsx', adapter: vercel() } })]
});

vite build --app -c vite.config.vercel.ts produces a fully bundled function and then generates the complete .vercel/output layout. Unlike wrangler-style tools, the Build Output API is a generation contract: hand-writing it has no copyability value, so the layout is regenerated every build. Deploy with vercel deploy --prebuilt (link the project first).

About#

@sigx/vercel is a Deploy adapter — Build Output API v3 generation. It ships from the core repo in lockstep with the release it deploys, so the adapter always matches your sigx version.

It rides @sigx/vite's public SigxAdapter seam with no privileged access; the runtime story is createFetchHandler (WinterCG-clean, CI-enforced) — everything in this package is build glue.

Next steps#

Continue with Deploying to Vercel for the output layout, runtimes and entry walkthrough, or jump to the API reference.