I have one app module and six lazy loaded feature modules in angular application.I am using primeng library.I need approximately 25 primeng modules in app module and all six lazy loaded modules.
I kept all 25 primeng modules in one shared module and imported the shared module in app module and remaining sixlazy loaded modules.It is taking a lot of time while loading initial page and lazy loading modules as it has to fetch all the modules in shared module every time we lazyload a module.
What is the best way to import all 25 primeng modules into all modules?