Skip to content

Commit 3cd6a33

Browse files
lacolacoalexeagle
authored andcommitted
feat(@schematics/angular): add @angular/http as a dependency in universal
1 parent 1a6b471 commit 3cd6a33

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

packages/schematics/angular/universal/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,12 @@ function addDependencies(): Rule {
161161
...coreDep,
162162
name: '@angular/platform-server',
163163
};
164+
const httpDep = {
165+
...coreDep,
166+
name: '@angular/http',
167+
};
164168
addPackageJsonDependency(host, platformServerDep);
169+
addPackageJsonDependency(host, httpDep);
165170

166171
return host;
167172
};

0 commit comments

Comments
 (0)