← All recipes
Moderne licensed

Replace node-sass with sass

Recipe IDorg.openrewrite.angular.migration.replace-node-sass-with-sassArtifact@openrewrite/recipes-angular

Replaces the deprecated node-sass package with sass (Dart Sass). Angular 12 requires Dart Sass; node-sass is no longer supported.

Composite 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.replace-node-sass-with-sass

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

mod config recipes npm install @openrewrite/recipes-angular

Definition

This recipe runs the following recipes in order.