UNPKG

1.35 kBTypeScriptView Raw
1/**
2 * Compiles an Angular app into an output directory named dist/ at the given output path.
3 * Must be executed from within a workspace directory.
4 */
5export interface Schema {
6 /**
7 * **EXPERIMENTAL** Output file path for Build Event Protocol events
8 */
9 buildEventLog?: string;
10 /**
11 * A named build target, as specified in the "configurations" section of angular.json.
12 * Each named target is accompanied by a configuration of option defaults for that target.
13 * Setting this explicitly overrides the "--prod" flag
14 */
15 configuration?: string;
16 /**
17 * Shows a help message for this command in the console.
18 */
19 help?: HelpUnion;
20 /**
21 * Shorthand for "--configuration=production".
22 * When true, sets the build configuration to the production target.
23 * By default, the production target is set up in the workspace configuration such that all
24 * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
25 */
26 prod?: boolean;
27 /**
28 * The name of the project to build. Can be an application or a library.
29 */
30 project?: string;
31}
32/**
33 * Shows a help message for this command in the console.
34 */
35export declare type HelpUnion = boolean | HelpEnum;
36export declare enum HelpEnum {
37 HelpJson = "JSON",
38 Json = "json"
39}