Find deprecated string-based loadChildren usage
ProprietaryFinds usages of the deprecated string-based loadChildren syntax (e.g. loadChildren: './path/to/module#ModuleName'). String-based lazy loading was deprecated in Angular 8 and removed in Angular 11. Use dynamic imports instead: loadChildren: () => import('./path/to/module').then(m => m.ModuleName).
org. openrewrite. angular. search. find-load-children-string-usagemod run . --recipe= org. openrewrite. angular. search. find-load-children-string-usageInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.