Siemka,
jak organizujecie sobie declarations w module?
Tworzycie moduły dla funkcjonalności?
Czy coś takiego moze być ok?
declarations: [
AppComponent,
...Object.values(userProfilePage)
],
gdzie moj user ProfiePage to import z indexu
export * from './user-profile-page.component';
export * from './user-profile-title/user-profile-title.component';
export * from './user-profile-social/user-profile-social.component';