Adjust webpack chunk preloading strategy
This commit is contained in:
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: '',
|
||||
|
||||
Reference in new issue
Block a user