Add defaultConfiguration to build targets
Recipe ID
org.openrewrite.angular.migration.add-default-configurationArtifact@openrewrite/recipes-angularAdds "defaultConfiguration": "production" to build architect targets in angular.json. Angular 12 changed ng build to produce production bundles by default.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.angular.migration.add-default-configurationIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular