-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular-devkit/build-angular): add debugging and timing informat…
…ion in JavaScript and CSS optimization plugins 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 ``` (cherry picked from commit 6cbb941)
- Loading branch information
1 parent
7ffa2f2
commit a54018d
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters