Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[6a3a178] | 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 | */
|
---|
| 5 | export interface Schema {
|
---|
| 6 | /**
|
---|
| 7 | * One or more named builder configurations as a comma-separated list as specified in the
|
---|
| 8 | * "configurations" section of angular.json.
|
---|
| 9 | * The builder uses the named configurations to run the given target.
|
---|
| 10 | * For more information, see
|
---|
| 11 | * https://angular.io/guide/workspace-config#alternate-build-configurations.
|
---|
| 12 | * Setting this explicitly overrides the "--prod" flag.
|
---|
| 13 | */
|
---|
| 14 | configuration?: string;
|
---|
| 15 | /**
|
---|
| 16 | * Shows a help message for this command in the console.
|
---|
| 17 | */
|
---|
| 18 | help?: HelpUnion;
|
---|
| 19 | /**
|
---|
| 20 | * Shorthand for "--configuration=production".
|
---|
| 21 | * Set the build configuration to the production target.
|
---|
| 22 | * By default, the production target is set up in the workspace configuration such that all
|
---|
| 23 | * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
|
---|
| 24 | */
|
---|
| 25 | prod?: boolean;
|
---|
| 26 | /**
|
---|
| 27 | * The name of the project to build. Can be an application or a library.
|
---|
| 28 | */
|
---|
| 29 | project?: string;
|
---|
| 30 | }
|
---|
| 31 | /**
|
---|
| 32 | * Shows a help message for this command in the console.
|
---|
| 33 | */
|
---|
| 34 | export declare type HelpUnion = boolean | HelpEnum;
|
---|
| 35 | export declare enum HelpEnum {
|
---|
| 36 | HelpJson = "JSON",
|
---|
| 37 | Json = "json"
|
---|
| 38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.