Commit 476a68d 1 parent 7c522aa commit 476a68d Copy full SHA for 476a68d
File tree 1 file changed +9
-2
lines changed
packages/angular_devkit/build_angular/src/builders/application
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,15 @@ export async function* buildApplicationInternal(
87
87
const result = await executeBuild ( normalizedOptions , context , rebuildState ) ;
88
88
89
89
const buildTime = Number ( process . hrtime . bigint ( ) - startTime ) / 10 ** 9 ;
90
- const status = result . errors . length > 0 ? 'failed' : 'complete' ;
91
- logger . info ( `Application bundle generation ${ status } . [${ buildTime . toFixed ( 3 ) } seconds]` ) ;
90
+ const hasError = result . errors . length > 0 ;
91
+
92
+ if ( writeToFileSystem && ! hasError ) {
93
+ logger . info ( `Output location: ${ normalizedOptions . outputOptions . base } \n` ) ;
94
+ }
95
+
96
+ logger . info (
97
+ `Application bundle generation ${ hasError ? 'failed' : 'complete' } . [${ buildTime . toFixed ( 3 ) } seconds]` ,
98
+ ) ;
92
99
93
100
return result ;
94
101
} ,
You can’t perform that action at this time.
0 commit comments