Lazy-loaded modules warnings after updating Angular from 8 to 9
问题 After Angular update all lazy-loaded modules return warning: Error: [path/to/module/module-name.ts] is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. My function which returns modules array: export function manifests(prefix = '') { return [ { loadChildren: () => import(prefix + '/path/to/a.module').then(m => m.AModule), path: 'a', }, { loadChildren: () => import(prefix + '/path/to/b.module').then(m => m.BModule), path: