Skip to content

Commit 64c993a

Browse files
alan-agius4alexeagle
authored andcommitted
feat(@schematics/angular): stop adding @angular/http dependency when running universal schematic
`@angular/platform-server` is no longer dependent on `@angular/http` More info: angular/angular@9745f55
1 parent 6da5ee0 commit 64c993a

File tree

1 file changed

+0
-5
lines changed
  • packages/schematics/angular/universal

1 file changed

+0
-5
lines changed

packages/schematics/angular/universal/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,7 @@ function addDependencies(): Rule {
208208
...coreDep,
209209
name: '@angular/platform-server',
210210
};
211-
const httpDep = {
212-
...coreDep,
213-
name: '@angular/http',
214-
};
215211
addPackageJsonDependency(host, platformServerDep);
216-
addPackageJsonDependency(host, httpDep);
217212

218213
return host;
219214
};

0 commit comments

Comments
 (0)