2017-03-22 20:13:24 -04:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2017-08-09 14:28:53 -04:00
|
|
|
const globals = {
|
|
|
|
'@angular/core': 'ng.core',
|
|
|
|
'@angular/platform-browser': 'ng.platformBrowser',
|
2017-08-02 22:15:30 -04:00
|
|
|
'@angular/common': 'ng.common',
|
2017-08-09 14:28:53 -04:00
|
|
|
'rxjs/Observable': 'Rx',
|
2017-10-30 14:51:03 -04:00
|
|
|
'rxjs/Observer': 'Rx',
|
2017-08-09 14:28:53 -04:00
|
|
|
'rxjs/Subject': 'Rx',
|
|
|
|
|
|
|
|
'rxjs/observable/of': 'Rx.Observable.prototype',
|
|
|
|
|
|
|
|
'rxjs/operator/concatMap': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/operator/filter': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/operator/map': 'Rx.Observable.prototype',
|
|
|
|
};
|
|
|
|
|
2017-10-30 13:55:45 -04:00
|
|
|
module.exports = {
|
2017-09-13 19:20:29 -04:00
|
|
|
entry: '../../../dist/packages-dist/common/esm5/http.js',
|
2017-03-22 20:13:24 -04:00
|
|
|
dest: '../../../dist/packages-dist/common/bundles/common-http.umd.js',
|
|
|
|
format: 'umd',
|
|
|
|
exports: 'named',
|
2017-09-28 12:29:22 -04:00
|
|
|
amd: {id: '@angular/common/http'},
|
2017-08-09 14:28:53 -04:00
|
|
|
moduleName: 'ng.common.http',
|
|
|
|
external: Object.keys(globals),
|
|
|
|
globals: globals
|
2017-03-22 20:13:24 -04:00
|
|
|
};
|