CLI
The lacis CLI is included with the lacis package. It provides commands for building and developing your project.
lacis build
Section titled “lacis build”Generates the routes manifest required for serverless deployments (Vercel, Netlify).
lacis buildThis 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.
lacis watch
Section titled “lacis watch”Watches your routes/ directory and regenerates the manifest whenever a file is added, removed, or renamed.
lacis watchUseful during development on Vercel or Netlify to keep the manifest in sync as you add routes.
lacis dev
Section titled “lacis dev”Starts a local development server for Vercel and Netlify projects.
lacis dev