mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
optimized module imports
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user