source: trip-planner-front/node_modules/@angular/cli/commands/build-long.md@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[6a3a178]1The command can be used to build a project of type "application" or "library".
2When used to build a library, a different builder is invoked, and only the `ts-config`, `configuration`, and `watch` options are applied.
3All other options apply only to building applications.
4
5The application builder uses the [webpack](https://webpack.js.org/) build tool, with default configuration options specified in the workspace configuration file (`angular.json`) or with a named alternative configuration.
6A "development" configuration is created by default when you use the CLI to create the project, and you can use that configuration by specifying the `--configuration development`.
7
8The configuration options generally correspond to the command options.
9You can override individual configuration defaults by specifying the corresponding options on the command line.
10The command can accept option names given in either dash-case or camelCase.
11Note that in the configuration file, you must specify names in camelCase.
12
13Some additional options can only be set through the configuration file,
14either by direct editing or with the `ng config` command.
15These include `assets`, `styles`, and `scripts` objects that provide runtime-global resources to include in the project.
16Resources in CSS, such as images and fonts, are automatically written and fingerprinted at the root of the output folder.
17
18For further details, see [Workspace Configuration](guide/workspace-config).
Note: See TracBrowser for help on using the repository browser.