← All recipes
Moderne licensed

Remove IE11 polyfills

Recipe IDorg.openrewrite.angular.migration.remove-ie-polyfillsArtifact@openrewrite/recipes-angular

Removes IE11-specific polyfill imports (core-js, classlist.js, web-animations-js) from polyfills.ts and angular.json. Angular 13 dropped IE11 support, making these polyfills unnecessary.

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.remove-ie-polyfills

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.

  • Remove IE polyfill imports from polyfills.tsorg.openrewrite.angular.migration.remove-ie-polyfills.typescript
  • Remove IE polyfills from angular.jsonorg.openrewrite.angular.migration.remove-ie-polyfills.angular-json