Replace string-based loadChildren with dynamic import()

Proprietary

Converts the deprecated string-based loadChildren: 'path#Module' syntax to dynamic imports: loadChildren: () => import('path').then(m => m.Module).

org.openrewrite.angular.migration.replace-load-children-string
mod run . --recipe=org.openrewrite.angular.migration.replace-load-children-string

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.