feat(ivy): implement listLazyRoutes() for ngtsc (#27697)
This commit uses the NgModuleRouteAnalyzer introduced previously to implement listLazyRoutes() for NgtscProgram. Currently this implementation is limited to listing routes globally and cannot list routes for a given lazy module. Testing seems to indicate that the CLI uses the global form, but this should be verified. Jira issue: FW-629 PR Close #27697
This commit is contained in:
@ -76,7 +76,7 @@ export class DecorationAnalyzer {
|
||||
new InjectableDecoratorHandler(this.reflectionHost, this.isCore),
|
||||
new NgModuleDecoratorHandler(
|
||||
this.reflectionHost, this.evaluator, this.scopeRegistry, this.referencesRegistry,
|
||||
this.isCore),
|
||||
this.isCore, /* routeAnalyzer */ null),
|
||||
new PipeDecoratorHandler(this.reflectionHost, this.evaluator, this.scopeRegistry, this.isCore),
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user