Adjust webpack chunk preloading strategy

This commit is contained in:
Mononaut
2023-11-10 04:58:07 +00:00
parent db8ed5b705
commit af7b9c0dc8
6 changed files with 23 additions and 8 deletions

View File

@@ -7,7 +7,8 @@ const routes: Routes = [
{
path: '',
component: MasterPageComponent,
loadChildren: () => import('./graphs/graphs.module').then(m => m.GraphsModule)
loadChildren: () => import('./graphs/graphs.module').then(m => m.GraphsModule),
data: { preload: true },
}
];