angular-docs-cn/modules/@angular/http/.babelrc

15 lines
347 B
Plaintext

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