Adjust webpack chunk preloading strategy

This commit is contained in:
Mononaut committed 2023-11-10 05:36:19 +00:00
1 parent db8ed5b705
commit af7b9c0dc8
6 files changed
+23 -8

No files matched your search

@@ -95,8 +95,8 @@ const routes: Routes = [
},
{
path: 'lightning',
data: { networks: ['bitcoin'] },
loadChildren: () => import ('./lightning-graphs.module').then(m => m.LightningGraphsModule)
data: { preload: true, networks: ['bitcoin'] },
loadChildren: () => import ('./lightning-graphs.module').then(m => m.LightningGraphsModule),
},
{
path: '',