← All recipes
Moderne licensed

Update tsconfig.json module settings for Ivy

Recipe IDorg.openrewrite.angular.migration.update-tsconfig-moduleArtifact@openrewrite/recipes-angular

Updates compilerOptions.module to esnext and compilerOptions.moduleResolution to node in tsconfig.json. Angular 9's Ivy compiler requires ES module format. Already-current values like es2020, node16, nodenext, or bundler are left unchanged.

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.update-tsconfig-module

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

mod config recipes npm install @openrewrite/recipes-angular