UNPKG

786 BMarkdownView Raw
1Architect is the tool that the CLI uses to perform complex tasks such as compilation, according to provided configurations.
2The CLI commands run Architect targets such as `build`, `serve`, `test`, and `lint`.
3Each named target has a default configuration, specified by an "options" object,
4and an optional set of named alternate configurations in the "configurations" object.
5
6For example, the "serve" target for a newly generated app has a predefined
7alternate configuration named "production".
8
9You can define new targets and their configuration options in the "architect" section
10of the `angular.json` file.
11If you do so, you can run them from the command line using the `ng run` command.
12Execute the command using the following format.
13
14```
15ng run project:target[:configuration]
16```
\No newline at end of file