Replace provideServerRouting with provideServerRendering(withRoutes())
ProprietaryFolds provideServerRouting(routes) and provideServerRoutesConfig(routes, options) into provideServerRendering(withRoutes(routes), options) and drops a bare provideServerRendering() from the same providers array. Angular 20 removed both functions. Matches the replace-provide-server-routing schematic.
org. openrewrite. angular. migration. replace-provide-server-routingmod run . --recipe= org. openrewrite. angular. migration. replace-provide-server-routingInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.