Skip to content

Commit

Permalink
fix(nx): polyfill rxjs to avoid version mismatch issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Dec 2, 2019
1 parent 91e1f4e commit a88ee63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/bin/nx.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env node

// polyfill rxjs observable to avoid issues with multiple version fo Observable installed in node_modules
// https://twitter.com/BenLesh/status/1192478226385428483?s=20
(Symbol as any).observable = Symbol('observable polyfill');
import { findWorkspaceRoot } from '../lib/find-workspace-root';
import { initGlobal } from '../lib/init-global';
import { initLocal } from '../lib/init-local';
Expand Down

0 comments on commit a88ee63

Please sign in to comment.