build: add rxjs patch to make bazel build work with rxjs@6.0.0-beta.0 (#22887)
PR Close #22887
This commit is contained in:
parent
5f1be9b89b
commit
fad86a67ca
|
@ -27,9 +27,9 @@ sed('-i', '(\'response\' in xhr)', '(\'response\' in (xhr as any))',
|
||||||
'node_modules/rxjs/src/observable/dom/AjaxObservable.ts');
|
'node_modules/rxjs/src/observable/dom/AjaxObservable.ts');
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// workaround to make our closure compiler integration tests in integration/i18n pass
|
// fixes rxjs bazel build: https://github.com/ReactiveX/rxjs/pull/3454
|
||||||
// https://github.com/ReactiveX/rxjs/pull/3431
|
sed('-i', /^ srcs = glob.*/,
|
||||||
rm('-f', 'node_modules/rxjs/_esm2015/internal/umd.js');
|
'srcs = glob(["*.ts", "**/*.ts"], exclude = ["internal/Rx.ts", "internal-compatibility/**", "internal/patching/**", "umd.ts"]),',
|
||||||
rm('-f', 'node_modules/rxjs/_esm5/internal/umd.js');
|
'node_modules/rxjs/src/BUILD.bazel');
|
||||||
|
|
||||||
log('===== finished running the postinstall-patches.js script =====');
|
log('===== finished running the postinstall-patches.js script =====');
|
||||||
|
|
Loading…
Reference in New Issue