Enable AOT compilation in angular.json
ProprietaryAdds "aot": true to build options in angular.json. Angular 9 made AOT compilation the default, and projects upgrading from Angular 8 should enable it explicitly. Build targets using a builder that already defaults aot to true (@angular/build:application, @angular-devkit/build-angular:application, @angular-devkit/build-angular:browser-esbuild) are left untouched.
org. openrewrite. angular. migration. enable-aot-buildmod run . --recipe= org. openrewrite. angular. migration. enable-aot-buildInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.