feat(ivy): implement ngtsc's route analysis (#27697)
This commit introduces the NgModuleRouteAnalyzer & friends, which given metadata about the NgModules in a program can extract the list of lazy routes in the same format that the ngtools API uses. PR Close #27697
This commit is contained in:
@ -2543,7 +2543,7 @@ describe('compiler compliance', () => {
|
||||
@Directive({selector: '[some-directive]', exportAs: 'someDir, otherDir'})
|
||||
export class SomeDirective {}
|
||||
|
||||
@NgModule({declarations: [SomeDirective, MyComponent]})
|
||||
@NgModule({declarations: [SomeDirective]})
|
||||
export class MyModule{}
|
||||
`
|
||||
}
|
||||
|
Reference in New Issue
Block a user