Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): add @angular/platform-server as…
Browse files Browse the repository at this point in the history
… an optional peer dependency

`@angular/platform-server` is now an optional peer dep due to the recent changes in https://github.com/angular/angular-cli/blob/1cd53d6be17d6199b6af74a5a1686b3cb8f52268/packages/angular_devkit/build_angular/src/builders/server/index.ts#L182

(cherry picked from commit 9655136)
  • Loading branch information
alan-agius4 committed Oct 14, 2022
1 parent b50e88c commit 6280741
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/angular_devkit/build_angular/package.json
Expand Up @@ -73,6 +73,7 @@
"peerDependencies": {
"@angular/compiler-cli": "^15.0.0-next",
"@angular/localize": "^15.0.0-next",
"@angular/platform-server": "^15.0.0-next",
"@angular/service-worker": "^15.0.0-next",
"karma": "^6.3.0",
"ng-packagr": "^15.0.0-next",
Expand All @@ -84,6 +85,9 @@
"@angular/localize": {
"optional": true
},
"@angular/platform-server": {
"optional": true
},
"@angular/service-worker": {
"optional": true
},
Expand Down

0 comments on commit 6280741

Please sign in to comment.