|
| 1 | +System.config({ |
| 2 | + transpiler: 'typescript', |
| 3 | + typescriptOptions: { |
| 4 | + emitDecoratorMetadata: true |
| 5 | + }, |
| 6 | + paths: { |
| 7 | + 'npm:': 'https://unpkg.com/' |
| 8 | + }, |
| 9 | + map: { |
| 10 | + 'app': './src', |
| 11 | + |
| 12 | + '@angular/core': 'npm:@angular/core/bundles/core.umd.js', |
| 13 | + '@angular/common': 'npm:@angular/common/bundles/common.umd.js', |
| 14 | + '@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js', |
| 15 | + '@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js', |
| 16 | + '@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js', |
| 17 | + '@angular/http': 'npm:@angular/http/bundles/http.umd.js', |
| 18 | + '@angular/router': 'npm:@angular/router/bundles/router.umd.js', |
| 19 | + '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', |
| 20 | + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.js', |
| 21 | + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', |
| 22 | + '@angular/animations/browser': 'npm:@angular/animations/bundles/animations-browser.umd.js', |
| 23 | + |
| 24 | + '@angular/core/testing': 'npm:@angular/core/bundles/core-testing.umd.js', |
| 25 | + '@angular/common/testing': 'npm:@angular/common/bundles/common-testing.umd.js', |
| 26 | + '@angular/compiler/testing': 'npm:@angular/compiler/bundles/compiler-testing.umd.js', |
| 27 | + '@angular/platform-browser/testing': 'npm:@angular/platform-browser/bundles/platform-browser-testing.umd.js', |
| 28 | + '@angular/platform-browser-dynamic/testing': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js', |
| 29 | + '@angular/http/testing': 'npm:@angular/http/bundles/http-testing.umd.js', |
| 30 | + '@angular/router/testing': 'npm:@angular/router/bundles/router-testing.umd.js', |
| 31 | + |
| 32 | + 'rxjs': 'npm:rxjs', |
| 33 | + 'typescript': 'npm:typescript@2.2.1/lib/typescript.js' |
| 34 | + }, |
| 35 | + packages: { |
| 36 | + app: { |
| 37 | + main: './main.ts', |
| 38 | + defaultExtension: 'ts' |
| 39 | + }, |
| 40 | + rxjs: { |
| 41 | + defaultExtension: 'js' |
| 42 | + } |
| 43 | + } |
| 44 | +}) |
0 commit comments