Skip to content

Commit 84e07e9

Browse files
committed
feat(@schematics/angular): update migration to remove deprecated environment option
1 parent 8e38cec commit 84e07e9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

packages/schematics/angular/migrations/migration-collection.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@
110110
"factory": "./update-11/replace-ng-packagr-builder",
111111
"description": "Replace deprecated library builder '@angular-devkit/build-ng-packagr'."
112112
},
113-
"update-angular-config-v11": {
114-
"version": "11.0.0-next.0",
115-
"factory": "./update-11/update-angular-config",
116-
"description": "Remove deprecated options from 'angular.json' that are no longer present in v11."
117-
},
118113
"add-declaration-map-compiler-option": {
119114
"version": "11.0.0-next.2",
120115
"factory": "./update-11/add-declaration-map-compiler-option",
121116
"description": "Add 'declarationMap' compiler options for non production library builds."
117+
},
118+
"update-angular-config-v11": {
119+
"version": "11.0.0-next.5",
120+
"factory": "./update-11/update-angular-config",
121+
"description": "Remove deprecated options from 'angular.json' that are no longer present in v11."
122122
}
123123
}
124124
}

packages/schematics/angular/migrations/update-11/update-angular-config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default function (): Rule {
1414
return updateWorkspace(workspace => {
1515

1616
const optionsToRemove: Record<string, undefined> = {
17+
environment: undefined,
1718
extractCss: undefined,
1819
tsconfigFileName: undefined,
1920
};

0 commit comments

Comments
 (0)