← All recipes
Moderne licensed

Find zone.js usage

Recipe IDorg.openrewrite.angular.search.find-zone-js-usageArtifact@openrewrite/recipes-angular

Finds zone.js imports and NgZone references. Angular 20 supports zoneless change detection via provideZonelessChangeDetection(), making zone.js optional.

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.search.find-zone-js-usage

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

mod config recipes npm install @openrewrite/recipes-angular