Repository navigation
fix(@angular/build): enhance build logs and output location for library builder - #34288
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the logging output of the Angular library builder, including moving the watch mode log, adding the elapsed time and timestamp to the build completion message, and displaying the output path on success. It also adds a unit test to verify these logs. The feedback suggests logging build failures as errors rather than info messages to ensure they are correctly reported to stderr in CI/CD environments.
…ry builder Align library builder logs with the application builder format by logging: - `Library bundle generation complete. [X seconds] - <timestamp>` on build completion - `Output location: <outputPath>` for successful builds - `Watch mode enabled. Watching for file changes...` after initial build when watch mode is active
dfc0782 to
145bfe8
Compare
…r library builder
285e04b to
1d8ea59
Compare
|
This PR was merged into the repository. The changes were merged into the following branches:
|
|
This pull request has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Aligns library builder logs with the application builder format:
Library bundle generation complete. [X seconds] - <timestamp>on build completion (orfailedif errors occurred)Output location: <outputPath>on successful buildsWatch mode enabled. Watching for file changes...only when watch mode is active, after the initial build completes