diff --git a/packages/compiler-cli/ngcc/src/execution/create_compile_function.ts b/packages/compiler-cli/ngcc/src/execution/create_compile_function.ts index 3eab5c296f..0998129b4c 100644 --- a/packages/compiler-cli/ngcc/src/execution/create_compile_function.ts +++ b/packages/compiler-cli/ngcc/src/execution/create_compile_function.ts @@ -57,12 +57,12 @@ export function getCreateCompileFn( `${formatProperty} (formatPath: ${formatPath} | format: ${format})`); } + logger.info(`Compiling ${entryPoint.name} : ${formatProperty} as ${format}`); + const bundle = makeEntryPointBundle( fileSystem, entryPoint, formatPath, isCore, format, processDts, pathMappings, true, enableI18nLegacyMessageIdFormat); - logger.info(`Compiling ${entryPoint.name} : ${formatProperty} as ${format}`); - const result = transformer.transform(bundle); if (result.success) { if (result.diagnostics.length > 0) {