Remove IE11 polyfills
Recipe ID
org.openrewrite.angular.migration.remove-ie-polyfillsArtifact@openrewrite/recipes-angularRemoves 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-polyfillsIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angularDefinition
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