fix(bundles): correct RxJS mapping in rollup config for umd/es5 bundles

This commit is contained in:
Igor Minar
2016-08-30 12:13:38 -07:00
committed by Victor Berchet
parent 71ae2c4525
commit 174c016104
19 changed files with 34 additions and 102 deletions

View File

@ -6,10 +6,8 @@ export default {
moduleName: 'ng.core.testing',
globals: {
'@angular/core': 'ng.core',
'rxjs/Subject': 'Rx',
'rxjs/observable/PromiseObservable': 'Rx', // this is wrong, but this stuff has changed in rxjs b.6 so we need to fix it when we update.
'rxjs/operator/toPromise': 'Rx.Observable.prototype',
'rxjs/Observable': 'Rx'
'rxjs/Observable': 'Rx',
'rxjs/Subject': 'Rx'
}
}