@ordojs/cli
Version:
Command-line interface for OrdoJS framework
43 lines • 1.05 kB
TypeScript
/**
* @fileoverview OrdoJS CLI - Build command
*/
import { Command } from 'commander';
/**
* Register the build command
*/
export declare function registerBuildCommand(program: Command): void;
/**
* Build command implementation
*/
export declare function buildCommand(file: string, options: {
out: string;
minify: boolean;
sourcemap: boolean;
target: string;
brotli?: boolean;
gzip?: boolean;
analyze?: boolean;
bundleReport?: boolean;
optimization?: boolean;
production?: boolean;
deploy?: string;
}): Promise<void>;
/**
* Static site generation (SSG) build command implementation
*/
export declare function staticBuildCommand(entryFile: string, options: {
out: string;
minify: boolean;
sourcemap: boolean;
target: string;
routes: string;
public: string;
brotli?: boolean;
gzip?: boolean;
analyze?: boolean;
bundleReport?: boolean;
optimization?: boolean;
production?: boolean;
deploy?: string;
}): Promise<void>;
//# sourceMappingURL=build.d.ts.map