Skip to content

Commit 812786f

Browse files
hanslmatsko
authored andcommitted
fix: add missing globals from each rollup configuration (#20028)
PR Close #20028
1 parent de24d54 commit 812786f

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

packages/common/http/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const globals = {
1111
'@angular/platform-browser': 'ng.platformBrowser',
1212
'@angular/common': 'ng.common',
1313
'rxjs/Observable': 'Rx',
14+
'rxjs/Observer': 'Rx',
1415
'rxjs/Subject': 'Rx',
1516

1617
'rxjs/observable/of': 'Rx.Observable.prototype',

packages/common/http/testing/rollup.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ const globals = {
1515
'@angular/common': 'ng.common',
1616
'@angular/common/http': 'ng.common.http',
1717
'rxjs/Observable': 'Rx',
18+
'rxjs/Observer': 'Rx',
1819
'rxjs/ReplaySubject': 'Rx',
1920
'rxjs/Subject': 'Rx',
21+
22+
'rxjs/operator/startWith': 'Rx.Observable.prototype',
2023
};
2124

2225
export default {

packages/common/rollup.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import sourcemaps from 'rollup-plugin-sourcemaps';
1212
const globals = {
1313
'@angular/core': 'ng.core',
1414
'rxjs/Observable': 'Rx',
15+
'rxjs/Observer': 'Rx',
1516
'rxjs/Subject': 'Rx',
17+
'rxjs/Subscription': 'Rx',
1618
};
1719

1820
export default {

packages/http/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const globals = {
1414
'@angular/compiler': 'ng.compiler',
1515
'@angular/platform-browser': 'ng.platformBrowser',
1616
'rxjs/Observable': 'Rx',
17+
'rxjs/Observer': 'Rx',
1718
'rxjs/Subject': 'Rx'
1819
};
1920

packages/platform-server/rollup.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ import sourcemaps from 'rollup-plugin-sourcemaps';
1111

1212
const globals = {
1313
'@angular/animations': 'ng.animations',
14+
'@angular/animations/browser': 'ng.animations.browser',
1415
'@angular/core': 'ng.core',
1516
'@angular/common': 'ng.common',
17+
'@angular/common/http': 'ng.common.http',
1618
'@angular/compiler': 'ng.compiler',
1719
'@angular/http': 'ng.http',
1820
'@angular/platform-browser': 'ng.platformBrowser',
21+
'@angular/platform-browser/animations': 'ng.platformBrowser.animations',
1922
'@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic',
2023
'rxjs/Observable': 'Rx',
24+
'rxjs/Observer': 'Rx',
2125
'rxjs/Subject': 'Rx',
26+
'rxjs/Subscription': 'Rx',
2227
'rxjs/operator/toPromise': 'Rx.Observable.prototype',
2328
'rxjs/operator/filter': 'Rx.Observable.prototype',
2429
'rxjs/operator/first': 'Rx.Observable.prototype'

packages/platform-server/testing/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const globals = {
1515
'@angular/compiler': 'ng.compiler',
1616
'@angular/compiler/testing': 'ng.compiler.testing',
1717
'@angular/platform-browser': 'ng.platformBrowser',
18+
'@angular/platform-browser/animations': 'ng.platformBrowser.animations',
1819
'@angular/platform-server': 'ng.platformServer',
1920
'@angular/platform-browser-dynamic/testing': 'ng.platformBrowserDynamic.testing'
2021
};

packages/router/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const globals = {
1616

1717
'rxjs/BehaviorSubject': 'Rx',
1818
'rxjs/Observable': 'Rx',
19+
'rxjs/Observer': 'Rx',
1920
'rxjs/Subject': 'Rx',
2021
'rxjs/Subscription': 'Rx',
2122
'rxjs/util/EmptyError': 'Rx',

0 commit comments

Comments
 (0)