Remove Windows package generation (not supported)
[src/xds/xds-server.git] / webapp / src / systemjs.config.js
1 (function (global) {
2     System.config({
3         paths: {
4             // paths serve as alias
5             'npm:': 'lib/'
6         },
7         bundles: {
8             "npm:rxjs-system-bundle/Rx.system.min.js": [
9                 "rxjs",
10                 "rxjs/*",
11                 "rxjs/operator/*",
12                 "rxjs/observable/*",
13                 "rxjs/scheduler/*",
14                 "rxjs/symbol/*",
15                 "rxjs/add/operator/*",
16                 "rxjs/add/observable/*",
17                 "rxjs/util/*"
18             ]
19         },
20         // map tells the System loader where to look for things
21         map: {
22             // our app is within the app folder
23             app: 'app',
24             // angular bundles
25             '@angular/core': 'npm:@angular/core/bundles/core.umd.js',
26             '@angular/common': 'npm:@angular/common/bundles/common.umd.js',
27             '@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js',
28             '@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js',
29             '@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
30             '@angular/http': 'npm:@angular/http/bundles/http.umd.js',
31             '@angular/router': 'npm:@angular/router/bundles/router.umd.js',
32             '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
33             'ngx-cookie': 'npm:ngx-cookie/bundles/ngx-cookie.umd.js',
34             // ng2-bootstrap
35             'moment': 'npm:moment',
36             'ngx-bootstrap/alert': 'npm:ngx-bootstrap/bundles/ngx-bootstrap.umd.min.js',
37             'ngx-bootstrap/modal': 'npm:ngx-bootstrap/bundles/ngx-bootstrap.umd.min.js',
38             'ngx-bootstrap/accordion': 'npm:ngx-bootstrap/bundles/ngx-bootstrap.umd.min.js',
39             'ngx-bootstrap/carousel': 'npm:ngx-bootstrap/bundles/ngx-bootstrap.umd.min.js',
40             'ngx-bootstrap/popover': 'npm:ngx-bootstrap/bundles/ngx-bootstrap.umd.min.js',
41             'ngx-bootstrap/dropdown': 'npm:ngx-bootstrap/bundles/ngx-bootstrap.umd.min.js',
42             'ngx-bootstrap/collapse': 'npm:ngx-bootstrap/bundles/ngx-bootstrap.umd.min.js',
43             // other libraries
44             'socket.io-client': 'npm:socket.io-client/dist/socket.io.min.js'
45         },
46         // packages tells the System loader how to load when no filename and/or no extension
47         packages: {
48             'app': {
49                 main: './main.js',
50                 defaultExtension: 'js'
51             },
52             'rxjs': {
53                 defaultExtension: false
54             },
55             'socket.io-client': {
56                 defaultExtension: 'js'
57             },
58             'ngx-bootstrap': {
59                 format: 'cjs',
60                 main: 'bundles/ng2-bootstrap.umd.js',
61                 defaultExtension: 'js'
62             },
63             'moment': {
64                 main: 'moment.js',
65                 defaultExtension: 'js'
66             }
67         }
68     });
69 })(this);