Skip to content

Commit 962fb69

Browse files
committed
build: e2e failures and add missing rx operators to rollup config
* Fixes a component not being added to the examples module, causing the E2E task to fail. * Adds some operators that were missing from the Rollup config.
1 parent 3b41c0c commit 962fb69

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/material-examples/example-module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ export const EXAMPLE_LIST = [
552552
SortOverviewExample,
553553
TableBasicExample,
554554
TableFilteringExample,
555+
TableHttpExample,
555556
TableOverviewExample,
556557
TablePaginationExample,
557558
TableSortingExample,

tools/package-tools/rollup-helpers.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,15 @@ const ROLLUP_GLOBALS = {
5353
// RxJS imports for the examples package
5454
'rxjs/add/observable/merge': 'Rx.Observable',
5555
'rxjs/add/observable/fromEvent': 'Rx.Observable',
56+
'rxjs/add/observable/of': 'Rx.Observable',
57+
'rxjs/add/observable/interval': 'Rx.Observable',
5658
'rxjs/add/operator/startWith': 'Rx.Observable.prototype',
5759
'rxjs/add/operator/map': 'Rx.Observable.prototype',
5860
'rxjs/add/operator/debounceTime': 'Rx.Observable.prototype',
5961
'rxjs/add/operator/distinctUntilChanged': 'Rx.Observable.prototype',
62+
'rxjs/add/operator/first': 'Rx.Observable.prototype',
63+
'rxjs/add/operator/catch': 'Rx.Observable.prototype',
64+
'rxjs/add/operator/switchMap': 'Rx.Observable.prototype',
6065
};
6166

6267
export type BundleConfig = {

0 commit comments

Comments
 (0)