I'm using angular2-router-loader to lazy loading component
here is some code:
`const fromListRoutes: Routes = [
{
path: 'form-list',
loadChildren: '../form-list/form-list.module#FormListModule'
}
];
const appRoutes: Routes = [
{ path: '', component: HomeComponent },
{ path: 'home', component: HomeComponent },
{ path: 'about', component: AboutComponent },
...fromListRoutes,
{ path: '**', redirectTo: '/home', pathMatch: 'full' },
];
export const routing = RouterModule.forRoot(appRoutes);`
then AOT operation:
npm run ngc
got error message:
Error: Cannot determine the module for class FormListComponent