This test ensures the `__esModule` is set on UMD bundles, thus making them compatible with SystemJS@^0.22.3. Followup from https://github.com/frankwallis/plugin-typescript/issues/185. PR Close #14196
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
 * @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
 | 
						|
 */
 | 
						|
 | 
						|
export default {
 | 
						|
  entry: '../../dist/packages-dist/router/@angular/router.es5.js',
 | 
						|
  dest: '../../dist/packages-dist/router/bundles/router.umd.js',
 | 
						|
  format: 'umd',
 | 
						|
  exports: 'named',
 | 
						|
  moduleName: 'ng.router',
 | 
						|
  globals: {
 | 
						|
    '@angular/core': 'ng.core',
 | 
						|
    '@angular/common': 'ng.common',
 | 
						|
    '@angular/platform-browser': 'ng.platformBrowser',
 | 
						|
 | 
						|
    'rxjs/BehaviorSubject': 'Rx',
 | 
						|
    'rxjs/Observable': 'Rx',
 | 
						|
    'rxjs/Subject': 'Rx',
 | 
						|
    'rxjs/Subscription': 'Rx',
 | 
						|
    'rxjs/util/EmptyError': 'Rx',
 | 
						|
 | 
						|
    'rxjs/observable/from': 'Rx.Observable',
 | 
						|
    'rxjs/observable/fromPromise': 'Rx.Observable',
 | 
						|
    'rxjs/observable/forkJoin': 'Rx.Observable',
 | 
						|
    'rxjs/observable/of': 'Rx.Observable',
 | 
						|
 | 
						|
    'rxjs/operator/toPromise': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/map': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/mergeAll': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/concatAll': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/mergeMap': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/reduce': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/every': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/first': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/catch': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/last': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/filter': 'Rx.Observable.prototype',
 | 
						|
    'rxjs/operator/concatMap': 'Rx.Observable.prototype'
 | 
						|
  },
 | 
						|
  plugins: []
 | 
						|
};
 |