Skip to content

Commit 39fa206

Browse files
authored
fix(@angular/cli): add a dependency to RXJS (#4465)
Projects dont have a problem with it because they have that dependency directly, but global installs dont have rxjs and will error out.
1 parent 570f016 commit 39fa206

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/@angular/cli/lib/cli/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/*eslint-disable no-console */
22

3-
// Prevent the dependency validation from tripping because we don't import zone.js. We need
3+
// Prevent the dependency validation from tripping because we don't import these. We need
44
// it as a peer dependency of @angular/core.
55
// require('zone.js')
6+
// require('rxjs')
67

78

89
// This file hooks up on require calls to transpile TypeScript.

0 commit comments

Comments
 (0)