/** * tradjs build — Build assets to disk * * Runs the existing in-memory build pipeline, then writes all built assets * to the output directory. Supports both app-router mode (discovers all routes) * and standalone entry mode (build specific files). * * Usage: * tradjs build Build all routes to ./dist * tradjs build --outdir ./extension/dist Build to custom directory * tradjs build --entry src/app.ts Build specific entry points * tradjs build --entry src/a.ts --entry src/b.tsx --outdir ./dist */ export interface BuildOptions { /** Output directory (default: ./dist) */ outDir?: string; /** App directory for route discovery (default: ./app) */ appDir?: string; /** Global CSS file to build */ globalCss?: string; /** Explicit entry points (bypass route discovery) */ entries?: string[]; } /** * Build all assets to disk. * * In app-router mode (default): discovers all routes from appDir, builds * every page.client.tsx, layout.client.tsx, globals.css, page.css, etc. * * In entry mode (--entry flags): builds only the specified files. */ export declare function buildToDisk(options?: BuildOptions): Promise; /** * Parse CLI arguments for the build command. */ export declare function parseBuildArgs(args: string[]): BuildOptions; //# sourceMappingURL=cli-build.d.ts.map