Skip to content

Commit 3b7470d

Browse files
alan-agius4filipesilva
authored andcommitted
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.
1 parent 71eab3d commit 3b7470d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/schematics/angular/application/schema.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@
114114
"legacyBrowsers": {
115115
"type": "boolean",
116116
"description": "Add support for legacy browsers like Internet Explorer using differential loading.",
117-
"default": false
117+
"default": false,
118+
"x-deprecated": "Legacy browsers support is deprecated since version 12. For more information, see https://angular.io/guide/browser-support"
118119
}
119120
},
120121
"required": [

packages/schematics/angular/ng-new/schema.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@
136136
"legacyBrowsers": {
137137
"type": "boolean",
138138
"description": "Add support for legacy browsers like Internet Explorer using differential loading.",
139-
"default": false
139+
"default": false,
140+
"x-deprecated": "Legacy browsers support is deprecated since version 12. For more information, see https://angular.io/guide/browser-support"
140141
},
141142
"packageManager": {
142143
"description": "The package manager used to install dependencies.",

0 commit comments

Comments
 (0)