optimized module imports

This commit is contained in:
Giuseppe Digilio
2020-12-03 19:36:19 +01:00
parent 308aa34d8a
commit 9ed1c74f29
11 changed files with 24 additions and 104 deletions

View File

@@ -16,12 +16,6 @@ const COMPONENTS = [
OnClickMenuItemComponent
];
const ENTRY_COMPONENTS = [
LinkMenuItemComponent,
TextMenuItemComponent,
OnClickMenuItemComponent
];
const MODULES = [
TranslateModule,
RouterModule,
@@ -36,8 +30,7 @@ const PROVIDERS = [
...MODULES
],
declarations: [
...COMPONENTS,
...ENTRY_COMPONENTS,
...COMPONENTS
],
providers: [
...PROVIDERS