fix: add missing globals from each rollup configuration (#20028)
PR Close #20028
This commit is contained in:

committed by
Matias Niemelä

parent
de24d54517
commit
812786f44e
@ -11,6 +11,7 @@ const globals = {
|
||||
'@angular/platform-browser': 'ng.platformBrowser',
|
||||
'@angular/common': 'ng.common',
|
||||
'rxjs/Observable': 'Rx',
|
||||
'rxjs/Observer': 'Rx',
|
||||
'rxjs/Subject': 'Rx',
|
||||
|
||||
'rxjs/observable/of': 'Rx.Observable.prototype',
|
||||
|
@ -15,8 +15,11 @@ const globals = {
|
||||
'@angular/common': 'ng.common',
|
||||
'@angular/common/http': 'ng.common.http',
|
||||
'rxjs/Observable': 'Rx',
|
||||
'rxjs/Observer': 'Rx',
|
||||
'rxjs/ReplaySubject': 'Rx',
|
||||
'rxjs/Subject': 'Rx',
|
||||
|
||||
'rxjs/operator/startWith': 'Rx.Observable.prototype',
|
||||
};
|
||||
|
||||
export default {
|
||||
|
@ -12,7 +12,9 @@ import sourcemaps from 'rollup-plugin-sourcemaps';
|
||||
const globals = {
|
||||
'@angular/core': 'ng.core',
|
||||
'rxjs/Observable': 'Rx',
|
||||
'rxjs/Observer': 'Rx',
|
||||
'rxjs/Subject': 'Rx',
|
||||
'rxjs/Subscription': 'Rx',
|
||||
};
|
||||
|
||||
export default {
|
||||
|
Reference in New Issue
Block a user