← All recipes
Moderne licensed

Remove extractCss from angular.json

Recipe IDorg.openrewrite.angular.migration.remove-extract-cssArtifact@openrewrite/recipes-angular

Removes 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-css

If the recipe isn’t available locally, install it with:

mod config recipes npm install @openrewrite/recipes-angular