Jason Aden 3168ef75da build: fix secondary entry point es5 output and core Rx references (#14820)
Secondary entry points (testing, static, etc) are rolled up into a
single ESM/ES2015 file, then downleveled to ESM/ES2015. This downleveling
was not working and was producing ESM/ES2015. Also, the @angular/core
package's .babelrc file was missing reference to Rx Observable which
broke the UMD bundle.

Fixes #14730
2017-03-01 15:59:09 -08:00

24 lines
503 B
Plaintext

{
"presets": ["es2015"],
"plugins": [["transform-es2015-modules-umd", {
"globals": {
"@angular/core": "ng.core",
"rxjs/Subject": "Rx",
"rxjs/Observable": "Rx",
"rxjs/Observer": "Rx",
"rxjs/Subscription": "Rx",
"rxjs/symbol/observable": "Rx.Symbol.observable",
"rxjs/observable/merge": "Rx.Observable",
"rxjs/operator/share": "Rx.Observable.prototype"
},
"exactGlobals": true
}]],
"moduleId": "@angular/core",
"compact": false
}