Custom app architecture (ionic 4, angular)

I’m develop app which is use different pages, modules and components (including native components) depend on platform (android,ios, web) used by user.
Now when my app is large, I’m running command “ionic serve” or “ionic build cordova android run --livereload” , time of reaload is long.

I wonder is there any to disable loading of unnecessary components, modules or pages during building / reloading.
I’m mean: If app run as cordova android/ ios some modules, components are unnecessary from web platform