← All recipes
Moderne licensed

Find platformDynamicServer usage

Recipe IDorg.openrewrite.angular.search.find-platform-dynamic-server-usageArtifact@openrewrite/recipes-angular

Finds usages of the removed platformDynamicServer API from @angular/platform-server. In Angular 18, replace with platformServer and add import '@angular/compiler'.

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-platform-dynamic-server-usage

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

mod config recipes npm install @openrewrite/recipes-angular