Remove extractCss from angular.json
Recipe ID
org.openrewrite.angular.migration.remove-extract-cssArtifact@openrewrite/recipes-angularRemoves the deprecated extractCss build option from angular.json. In Angular 11, CSS extraction became the default behavior for production builds and the option was deprecated.
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.remove-extract-cssIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular