feat(ivy): ngcc - add debug message for invalid entry-points (#30270)
PR Close #30270
This commit is contained in:
parent
1660b34e2d
commit
f5b2ae616f
|
@ -95,9 +95,16 @@ export function mainNgcc(
|
|||
return;
|
||||
}
|
||||
|
||||
const {entryPoints} = finder.findEntryPoints(
|
||||
const {entryPoints, invalidEntryPoints} = finder.findEntryPoints(
|
||||
AbsoluteFsPath.from(basePath), absoluteTargetEntryPointPath, pathMappings);
|
||||
|
||||
invalidEntryPoints.forEach(invalidEntryPoint => {
|
||||
logger.debug(
|
||||
`Invalid entry-point ${invalidEntryPoint.entryPoint.path}.`,
|
||||
`It is missing required dependencies:\n` +
|
||||
invalidEntryPoint.missingDependencies.map(dep => ` - ${dep}`).join('\n'));
|
||||
});
|
||||
|
||||
if (absoluteTargetEntryPointPath && entryPoints.length === 0) {
|
||||
markNonAngularPackageAsProcessed(fs, absoluteTargetEntryPointPath, propertiesToConsider);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue