fix: add missing globals from each rollup configuration (#20028)
PR Close #20028
This commit is contained in:
parent
b6abcb2500
commit
13f8648a00
|
@ -11,6 +11,7 @@ const globals = {
|
||||||
'@angular/platform-browser': 'ng.platformBrowser',
|
'@angular/platform-browser': 'ng.platformBrowser',
|
||||||
'@angular/common': 'ng.common',
|
'@angular/common': 'ng.common',
|
||||||
'rxjs/Observable': 'Rx',
|
'rxjs/Observable': 'Rx',
|
||||||
|
'rxjs/Observer': 'Rx',
|
||||||
'rxjs/Subject': 'Rx',
|
'rxjs/Subject': 'Rx',
|
||||||
|
|
||||||
'rxjs/observable/of': 'Rx.Observable.prototype',
|
'rxjs/observable/of': 'Rx.Observable.prototype',
|
||||||
|
|
|
@ -15,8 +15,11 @@ const globals = {
|
||||||
'@angular/common': 'ng.common',
|
'@angular/common': 'ng.common',
|
||||||
'@angular/common/http': 'ng.common.http',
|
'@angular/common/http': 'ng.common.http',
|
||||||
'rxjs/Observable': 'Rx',
|
'rxjs/Observable': 'Rx',
|
||||||
|
'rxjs/Observer': 'Rx',
|
||||||
'rxjs/ReplaySubject': 'Rx',
|
'rxjs/ReplaySubject': 'Rx',
|
||||||
'rxjs/Subject': 'Rx',
|
'rxjs/Subject': 'Rx',
|
||||||
|
|
||||||
|
'rxjs/operator/startWith': 'Rx.Observable.prototype',
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -12,7 +12,9 @@ const sourcemaps = require('rollup-plugin-sourcemaps');
|
||||||
const globals = {
|
const globals = {
|
||||||
'@angular/core': 'ng.core',
|
'@angular/core': 'ng.core',
|
||||||
'rxjs/Observable': 'Rx',
|
'rxjs/Observable': 'Rx',
|
||||||
|
'rxjs/Observer': 'Rx',
|
||||||
'rxjs/Subject': 'Rx',
|
'rxjs/Subject': 'Rx',
|
||||||
|
'rxjs/Subscription': 'Rx',
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -14,6 +14,7 @@ const globals = {
|
||||||
'@angular/compiler': 'ng.compiler',
|
'@angular/compiler': 'ng.compiler',
|
||||||
'@angular/platform-browser': 'ng.platformBrowser',
|
'@angular/platform-browser': 'ng.platformBrowser',
|
||||||
'rxjs/Observable': 'Rx',
|
'rxjs/Observable': 'Rx',
|
||||||
|
'rxjs/Observer': 'Rx',
|
||||||
'rxjs/Subject': 'Rx'
|
'rxjs/Subject': 'Rx'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -11,14 +11,19 @@ const sourcemaps = require('rollup-plugin-sourcemaps');
|
||||||
|
|
||||||
const globals = {
|
const globals = {
|
||||||
'@angular/animations': 'ng.animations',
|
'@angular/animations': 'ng.animations',
|
||||||
|
'@angular/animations/browser': 'ng.animations.browser',
|
||||||
'@angular/core': 'ng.core',
|
'@angular/core': 'ng.core',
|
||||||
'@angular/common': 'ng.common',
|
'@angular/common': 'ng.common',
|
||||||
|
'@angular/common/http': 'ng.common.http',
|
||||||
'@angular/compiler': 'ng.compiler',
|
'@angular/compiler': 'ng.compiler',
|
||||||
'@angular/http': 'ng.http',
|
'@angular/http': 'ng.http',
|
||||||
'@angular/platform-browser': 'ng.platformBrowser',
|
'@angular/platform-browser': 'ng.platformBrowser',
|
||||||
|
'@angular/platform-browser/animations': 'ng.platformBrowser.animations',
|
||||||
'@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic',
|
'@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic',
|
||||||
'rxjs/Observable': 'Rx',
|
'rxjs/Observable': 'Rx',
|
||||||
|
'rxjs/Observer': 'Rx',
|
||||||
'rxjs/Subject': 'Rx',
|
'rxjs/Subject': 'Rx',
|
||||||
|
'rxjs/Subscription': 'Rx',
|
||||||
'rxjs/operator/toPromise': 'Rx.Observable.prototype',
|
'rxjs/operator/toPromise': 'Rx.Observable.prototype',
|
||||||
'rxjs/operator/filter': 'Rx.Observable.prototype',
|
'rxjs/operator/filter': 'Rx.Observable.prototype',
|
||||||
'rxjs/operator/first': 'Rx.Observable.prototype'
|
'rxjs/operator/first': 'Rx.Observable.prototype'
|
||||||
|
|
|
@ -15,6 +15,7 @@ const globals = {
|
||||||
'@angular/compiler': 'ng.compiler',
|
'@angular/compiler': 'ng.compiler',
|
||||||
'@angular/compiler/testing': 'ng.compiler.testing',
|
'@angular/compiler/testing': 'ng.compiler.testing',
|
||||||
'@angular/platform-browser': 'ng.platformBrowser',
|
'@angular/platform-browser': 'ng.platformBrowser',
|
||||||
|
'@angular/platform-browser/animations': 'ng.platformBrowser.animations',
|
||||||
'@angular/platform-server': 'ng.platformServer',
|
'@angular/platform-server': 'ng.platformServer',
|
||||||
'@angular/platform-browser-dynamic/testing': 'ng.platformBrowserDynamic.testing'
|
'@angular/platform-browser-dynamic/testing': 'ng.platformBrowserDynamic.testing'
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,6 +16,7 @@ const globals = {
|
||||||
|
|
||||||
'rxjs/BehaviorSubject': 'Rx',
|
'rxjs/BehaviorSubject': 'Rx',
|
||||||
'rxjs/Observable': 'Rx',
|
'rxjs/Observable': 'Rx',
|
||||||
|
'rxjs/Observer': 'Rx',
|
||||||
'rxjs/Subject': 'Rx',
|
'rxjs/Subject': 'Rx',
|
||||||
'rxjs/Subscription': 'Rx',
|
'rxjs/Subscription': 'Rx',
|
||||||
'rxjs/util/EmptyError': 'Rx',
|
'rxjs/util/EmptyError': 'Rx',
|
||||||
|
|
Loading…
Reference in New Issue