Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
chore: fixed issue with ANALYZE_FOR_ENTRY_COMPONENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Chaia committed Aug 12, 2018
1 parent 12a462d commit f10eb89
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/tabs/tabs.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ export class TabsModule {
return {
ngModule: TabsModule,
providers: [
...config.map(c => ({
{
// This does magic and finds all component in the config.
provide: ANALYZE_FOR_ENTRY_COMPONENTS,
useValue: c.component,
useValue: config,
multi: true
})),
},
{
provide: APPLICATION_TABS,
useValue: config
Expand Down

0 comments on commit f10eb89

Please sign in to comment.