refactor(ngcc): slightly improve the info in error messages (#34254)
PR Close #34254
This commit is contained in:

committed by
Kara Erickson

parent
c0c2ab30cb
commit
44034888fc
@ -271,7 +271,7 @@ export function mainNgcc(
|
||||
const errors = replaceTsWithNgInErrors(
|
||||
ts.formatDiagnosticsWithColorAndContext(result.diagnostics, bundle.src.host));
|
||||
throw new Error(
|
||||
`Failed to compile entry-point ${entryPoint.name} due to compilation errors:\n${errors}`);
|
||||
`Failed to compile entry-point ${entryPoint.name} (${formatProperty} as ${format}) due to compilation errors:\n${errors}`);
|
||||
}
|
||||
|
||||
logger.debug(` Successfully compiled ${entryPoint.name} : ${formatProperty}`);
|
||||
|
Reference in New Issue
Block a user