Skip to content

Commit

Permalink
fixup! build: add rxjs patch to make bazel build work with rxjs@6.0.0…
Browse files Browse the repository at this point in the history
…-beta.0
  • Loading branch information
IgorMinar committed Mar 20, 2018
1 parent 1b2a576 commit 14403bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/postinstall-patches.js
Expand Up @@ -28,7 +28,8 @@ sed('-i', '(\'response\' in xhr)', '(\'response\' in (xhr as any))',
*/

// fixes rxjs bazel build: https://github.com/ReactiveX/rxjs/pull/3454
sed('-i', /^ srcs = glob.*/, 'srcs = glob(["*.ts", "**/*.ts"], exclude = ["internal/Rx.ts", "internal-compatibility/**", "internal/patching/**", "umd.ts"]),',
'node_modules/rxjs/src/BUILD.bazel');
sed('-i', /^ srcs = glob.*/,
'srcs = glob(["*.ts", "**/*.ts"], exclude = ["internal/Rx.ts", "internal-compatibility/**", "internal/patching/**", "umd.ts"]),',
'node_modules/rxjs/src/BUILD.bazel');

log('===== finished running the postinstall-patches.js script =====');

0 comments on commit 14403bf

Please sign in to comment.