From 3b7470d4836bcfff31ee4bf90ec4396f2905c633 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 9 Mar 2021 12:09:52 +0100 Subject: [PATCH] feat(@schematics/angular): deprecate `legacyBrowsers` application and ng-new option Internet Explorer 11 support is deprecated and will be removed in future versions of the Angular CLI. --- packages/schematics/angular/application/schema.json | 3 ++- packages/schematics/angular/ng-new/schema.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/schematics/angular/application/schema.json b/packages/schematics/angular/application/schema.json index 7c6c76f27515..e1281ce738d7 100644 --- a/packages/schematics/angular/application/schema.json +++ b/packages/schematics/angular/application/schema.json @@ -114,7 +114,8 @@ "legacyBrowsers": { "type": "boolean", "description": "Add support for legacy browsers like Internet Explorer using differential loading.", - "default": false + "default": false, + "x-deprecated": "Legacy browsers support is deprecated since version 12. For more information, see https://angular.io/guide/browser-support" } }, "required": [ diff --git a/packages/schematics/angular/ng-new/schema.json b/packages/schematics/angular/ng-new/schema.json index 8ea24ad163f7..71ac500eb25b 100644 --- a/packages/schematics/angular/ng-new/schema.json +++ b/packages/schematics/angular/ng-new/schema.json @@ -136,7 +136,8 @@ "legacyBrowsers": { "type": "boolean", "description": "Add support for legacy browsers like Internet Explorer using differential loading.", - "default": false + "default": false, + "x-deprecated": "Legacy browsers support is deprecated since version 12. For more information, see https://angular.io/guide/browser-support" }, "packageManager": { "description": "The package manager used to install dependencies.",