angular-cn/modules/@angular/forms/.babelrc

19 lines
488 B
Plaintext

{
"presets": ["es2015"],
"plugins": [["transform-es2015-modules-umd", {
"globals": {
"@angular/core": "ng.core",
"@angular/common": "ng.common",
"@angular/compiler": "ng.compiler",
"@angular/forms": "ng.forms",
"rxjs/Observable": "Rx",
"rxjs/Subject": "Rx",
"rxjs/observable/fromPromise": "Rx.Observable",
"rxjs/operator/toPromise": "Rx.Observable.prototype"
},
"exactGlobals": true
}]],
"moduleId": "@angular/forms"
}