From a68e832aefa0767461e43e3b824f3ef773b02038 Mon Sep 17 00:00:00 2001 From: Jithil P Ponnan Date: Sun, 13 Oct 2024 02:20:47 +1100 Subject: [PATCH] fix(@schematics/angular): update browserslist config to include last 2 Android major versions --- packages/angular/build/src/utils/supported-browsers.ts | 1 + .../schematics/angular/config/files/.browserslistrc.template | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/angular/build/src/utils/supported-browsers.ts b/packages/angular/build/src/utils/supported-browsers.ts index 79674a62beae..30c3d502fcdd 100644 --- a/packages/angular/build/src/utils/supported-browsers.ts +++ b/packages/angular/build/src/utils/supported-browsers.ts @@ -18,6 +18,7 @@ export function getSupportedBrowsers( 'last 2 Edge major versions', 'last 2 Safari major versions', 'last 2 iOS major versions', + 'last 2 Android major versions', 'Firefox ESR', ]; diff --git a/packages/schematics/angular/config/files/.browserslistrc.template b/packages/schematics/angular/config/files/.browserslistrc.template index 08a5553150f9..4ec7f1adf73c 100644 --- a/packages/schematics/angular/config/files/.browserslistrc.template +++ b/packages/schematics/angular/config/files/.browserslistrc.template @@ -13,4 +13,5 @@ last 1 Firefox version last 2 Edge major versions last 2 Safari major versions last 2 iOS major versions +last 2 Android major versions Firefox ESR