How to preload modules only if run on device?

How to use preload all strategy on device and nopreload on browser?
we can load all module like this:

imports: [
    CommonModule,
    RouterModule.forRoot(appRoutes, { preloadingStrategy: PreloadAllModules }),
    ...
  ],

This will preload all module in any platform,
But i want to prevent preload when running on browser. And only preload on device.