Skip to content

Commit

Permalink
build: add rxjs patch to make bazel build work with rxjs@6.0.0-beta.0 (
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar authored and leo6104 committed Mar 25, 2018
1 parent 8f99dc8 commit 07ee3aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/postinstall-patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ sed('-i', '(\'response\' in xhr)', '(\'response\' in (xhr as any))',
'node_modules/rxjs/src/observable/dom/AjaxObservable.ts');
*/

// workaround to make our closure compiler integration tests in integration/i18n pass
// https://github.com/ReactiveX/rxjs/pull/3431
rm('-f', 'node_modules/rxjs/_esm2015/internal/umd.js');
rm('-f', 'node_modules/rxjs/_esm5/internal/umd.js');
// 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');

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

0 comments on commit 07ee3aa

Please sign in to comment.