annotate src/systemjs.config.js @ 47:b65a031c4967 ng2-final

first step to angular2-final (2.4) version of the query browser.
author casties
date Fri, 17 Mar 2017 20:16:52 +0100
parents
children 1245781e2575
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
1 /**
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
2 * System configuration for Angular samples
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
3 * Adjust as necessary for your application needs.
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
4 */
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
5 (function (global) {
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
6 System.config({
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
7 paths: {
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
8 // paths serve as alias
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
9 'npm:': 'node_modules/'
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
10 },
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
11 // map tells the System loader where to look for things
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
12 map: {
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
13 // our app is within the app folder
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
14 app: 'app',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
15
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
16 // angular bundles
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
17 '@angular/core': 'npm:@angular/core/bundles/core.umd.js',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
18 '@angular/common': 'npm:@angular/common/bundles/common.umd.js',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
19 '@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
20 '@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
21 '@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
22 '@angular/http': 'npm:@angular/http/bundles/http.umd.js',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
23 '@angular/router': 'npm:@angular/router/bundles/router.umd.js',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
24 '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
25
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
26 // other libraries
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
27 'rxjs': 'npm:rxjs',
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
28 'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js'
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
29 },
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
30 // packages tells the System loader how to load when no filename and/or no extension
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
31 packages: {
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
32 app: {
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
33 defaultExtension: 'js'
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
34 },
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
35 rxjs: {
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
36 defaultExtension: 'js'
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
37 }
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
38 }
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
39 });
b65a031c4967 first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff changeset
40 })(this);