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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const {entryPoints} = finder.findEntryPoints(
|
const {entryPoints, invalidEntryPoints} = finder.findEntryPoints(
|
||||||
AbsoluteFsPath.from(basePath), absoluteTargetEntryPointPath, pathMappings);
|
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) {
|
if (absoluteTargetEntryPointPath && entryPoints.length === 0) {
|
||||||
markNonAngularPackageAsProcessed(fs, absoluteTargetEntryPointPath, propertiesToConsider);
|
markNonAngularPackageAsProcessed(fs, absoluteTargetEntryPointPath, propertiesToConsider);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue