feat(ivy): implement listing lazy routes for specific entry point in ngtsc
(#28542)
Related: angular/angular-cli#13532 Jira issue: FW-860 PR Close #28542
This commit is contained in:

committed by
Miško Hevery

parent
f358188ec1
commit
e6c51b3e06
@ -192,9 +192,7 @@ export class NgtscProgram implements api.Program {
|
||||
|
||||
listLazyRoutes(entryRoute?: string|undefined): api.LazyRoute[] {
|
||||
this.ensureAnalyzed();
|
||||
// Listing specific routes is unsupported for now, so we erroneously return
|
||||
// all lazy routes instead (which should be okay for the CLI's usage).
|
||||
return this.routeAnalyzer !.listLazyRoutes();
|
||||
return this.routeAnalyzer !.listLazyRoutes(entryRoute);
|
||||
}
|
||||
|
||||
getLibrarySummaries(): Map<string, api.LibrarySummary> {
|
||||
|
Reference in New Issue
Block a user