2016-06-21 13:35:42 -04:00
|
|
|
export default {
|
2016-08-30 21:07:40 -04:00
|
|
|
entry: '../../../dist/packages-dist/router/index.js',
|
|
|
|
dest: '../../../dist/packages-dist/router/bundles/router.umd.js',
|
2016-06-21 13:35:42 -04:00
|
|
|
format: 'umd',
|
|
|
|
moduleName: 'ng.router',
|
|
|
|
globals: {
|
|
|
|
'@angular/core': 'ng.core',
|
|
|
|
'@angular/common': 'ng.common',
|
|
|
|
'@angular/compiler': 'ng.compiler',
|
|
|
|
'@angular/platform-browser': 'ng.platformBrowser',
|
|
|
|
'@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic',
|
|
|
|
|
|
|
|
'rxjs/Observable': 'Rx',
|
|
|
|
'rxjs/Subject': 'Rx',
|
|
|
|
'rxjs/BehaviorSubject': 'Rx',
|
|
|
|
'rxjs/Observer': 'Rx',
|
|
|
|
'rxjs/Subscription': 'Rx',
|
|
|
|
|
|
|
|
'rxjs/observable/PromiseObservable': 'Rx', // this is wrong, but this stuff has changed in rxjs b.6 so we need to fix it when we update.
|
2016-07-15 19:27:54 -04:00
|
|
|
'rxjs/add/operator/map': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/mergeAll': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/concatAll': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/mergeMap': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/reduce': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/every': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/first': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/catch': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/last': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/add/operator/toPromise': 'Rx.Observable.prototype',
|
|
|
|
'rxjs/observable/from': 'Rx.Observable',
|
|
|
|
'rxjs/observable/fromPromise': 'Rx.Observable',
|
|
|
|
'rxjs/observable/forkJoin': 'Rx.Observable',
|
|
|
|
'rxjs/observable/of': 'Rx.Observable',
|
|
|
|
'rxjs/util/EmptyError': 'Rx.EmptyError'
|
2016-08-30 21:07:40 -04:00
|
|
|
}
|
|
|
|
}
|