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

@@ -91,7 +91,8 @@ const routes: Routes = [
},
{
path: 'docs',
loadChildren: () => import('../docs/docs.module').then(m => m.DocsModule)
loadChildren: () => import('../docs/docs.module').then(m => m.DocsModule),
data: { preload: true },
},
{
path: 'api',