mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 11:44:05 +08:00
This can be useful to debug slow builds. Example of output ``` LOG from build-angular.JavaScriptOptimizerPlugin <t> optimize asset: runtime.ad5c30339e926c89.js: 221.959564 ms <t> optimize asset: polyfills.ec3ffae5bac27204.js: 1071.080092 ms <t> optimize asset: main.aa8a15155ca2133f.js: 3391.588635 ms <t> optimize js assets: 3483.799739 ms LOG from build-angular.CssOptimizerPlugin <t> optimize asset: styles.d251c5bf54715558.css: 26.569907 ms <t> optimize css assets: 34.441737 ms ``` ``` LOG from build-angular.JavaScriptOptimizerPlugin <i> polyfills.ec3ffae5bac27204.js restored from cache. <i> runtime.ad5c30339e926c89.js restored from cache. <t> optimize asset: main.69fb55a243b46bfa.js: 2618.5191210000003 ms <t> optimize js assets: 2721.226144 ms LOG from build-angular.CssOptimizerPlugin <i> styles.d251c5bf54715558.css restored from cache. <t> optimize css assets: 12.149169 ms ```
@angular-devkit/build-angular
This package contains Architect builders used to build and test Angular applications and libraries.
Builders
Name | Description |
---|---|
app-shell | Build an Angular App shell. |
browser | Build an Angular application targeting a browser environment. |
dev-server | A development server that provides live reloading. |
extract-i18n | Extract i18n messages from an Angular application. |
karma | Execute unit tests using Karma test runner. |
ng-packagr | Build and package an Angular library in Angular Package Format (APF) format using ng-packagr. |
server | Build an Angular application targeting a Node.js environment. |
protractor | Deprecated - Run end-to-end tests using Protractor framework. |
Disclaimer
While the builders when executed via the Angular CLI and their associated options are considered stable, the programmatic APIs are not considered officially supported and are not subject to the breaking change guarantees of SemVer.