# Builders ## Library Builder (tsup) Used for: TypeScript libraries in `@packages/` **Invokes:** `tsup [--clean] [--watch]` **Expects:** - `tsup.config.ts` OR tsup in build script - Output in `dist/` **Verifies:** `dist/index.js` exists --- ## NestJS Builder (nest build) Used for: NestJS backend services **Invokes:** `nest build [--watch]` **Expects:** - `nest-cli.json` - `.swcrc` (for SWC compilation) - Output in `dist/` **Verifies:** `dist/main.js` exists --- ## Frontend Builder (vite build) Used for: React frontends **Invokes:** `vite build` **Expects:** - `vite.config.ts` - React in dependencies - Output in `dist/` **Verifies:** `dist/index.html` exists