feat(router): add the ANALYZE_FOR_PRECOMPILE provider to make dev ergonomics better
This commit is contained in:
@ -140,7 +140,6 @@ export const ROUTER_CONFIG = [
|
||||
selector: 'inbox-app',
|
||||
viewProviders: [DbService],
|
||||
templateUrl: 'app/inbox-app.html',
|
||||
directives: ROUTER_DIRECTIVES,
|
||||
precompile: [InboxCmp, DraftsCmp]
|
||||
directives: ROUTER_DIRECTIVES
|
||||
})
|
||||
export class InboxApp {}
|
||||
|
@ -25,7 +25,6 @@ export class InboxDetailCmp {
|
||||
}
|
||||
|
||||
@AppModule({
|
||||
providers: [provideRoutes([{path: ':id', component: InboxDetailCmp}])],
|
||||
precompile: [InboxDetailCmp]
|
||||
providers: [provideRoutes([{path: ':id', component: InboxDetailCmp}])]
|
||||
})
|
||||
export default class InboxDetailModule {}
|
Reference in New Issue
Block a user