angular-docs-cn/packages/http/.babelrc-testing

18 lines
494 B
Plaintext

{
"presets": ["es2015"],
"plugins": [["transform-es2015-modules-umd", {
"globals": {
"@angular/core": "ng.core",
"@angular/platform-browser": "ng.platformBrowser",
"@angular/http": "ng.http",
"@angular/http/testing": "ng.http.testing",
"rxjs/Observable": "Rx",
"rxjs/ReplaySubject": "Rx",
"rxjs/Subject": "Rx",
"rxjs/operator/take": "Rx.Observable.prototype"
},
"exactGlobals": true
}]],
"moduleId": "@angular/http/testing"
}