Skip to content

CLI

The lacis CLI is included with the lacis package. It provides commands for building and developing your project.

Generates the routes manifest required for serverless deployments (Vercel, Netlify).

Terminal window
lacis build

This scans your routes/ directory and outputs routes/_manifest.ts — a file with static imports for every route handler. Serverless adapters import this manifest at runtime instead of scanning the filesystem.

When to use: Always run before deploying to Vercel or Netlify.

Watches your routes/ directory and regenerates the manifest whenever a file is added, removed, or renamed.

Terminal window
lacis watch

Useful during development on Vercel or Netlify to keep the manifest in sync as you add routes.

Starts a local development server for Vercel and Netlify projects.

Terminal window
lacis dev