Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be60be4

Browse files
committed
fix(@angular/build): add timestamp to bundle generation log
Adds an ISO timestamp to the "Application bundle generation complete" message. This provides more precise information about when the build process finished, which can be useful for debugging and analyzing build performance. Closes #30572 (cherry picked from commit 43fc553)
1 parent d60f4e5 commit be60be4

File tree

1 file changed

+2
-1
lines changed
  • packages/angular/build/src/builders/application

1 file changed

+2
-1
lines changed

packages/angular/build/src/builders/application/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ export async function* buildApplicationInternal(
109109
const hasError = result.errors.length > 0;
110110

111111
result.addLog(
112-
`Application bundle generation ${hasError ? 'failed' : 'complete'}. [${buildTime.toFixed(3)} seconds]\n`,
112+
`Application bundle generation ${hasError ? 'failed' : 'complete'}.` +
113+
` [${buildTime.toFixed(3)} seconds] - ${new Date().toISOString()}\n`,
113114
);
114115
}
115116

0 commit comments

Comments
 (0)