This repository was archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Expand file tree
/
Copy pathsystemjs.config.js
More file actions
47 lines (46 loc) · 1.76 KB
/
systemjs.config.js
File metadata and controls
47 lines (46 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
* System configuration for Angular samples
* Adjust as necessary for your application needs.
*/
(function (global) {
System.config({
paths: {
// paths serve as alias
"angular:": "https://unpkg.com/@angular/",
"syncfusion:": "https://cdn.syncfusion.com/ej2/",
},
// map tells the System loader where to look for things
map: {
// our app is within the app folder
'app': 'app',
"@syncfusion/ej2-base": "syncfusion:ej2-base/dist/ej2-base.umd.min.js",
// angular bundles
'@angular/core': 'angular:core@5.2.10/bundles/core.umd.js',
'@angular/common': 'angular:common@5.2.10/bundles/common.umd.js',
'@angular/compiler': 'angular:compiler@5.2.10/bundles/compiler.umd.js',
'@angular/http': 'angular:http@5.2.10/bundles/http.umd.js',
'@angular/forms': 'angular:forms@5.2.10/bundles/forms.umd.js',
'@angular/router': 'angular:router@5.2.10/bundles/router.umd.js',
'@angular/platform-browser': 'angular:platform-browser@5.2.10/bundles/platform-browser.umd.js',
'@angular/platform-browser-dynamic': 'angular:platform-browser-dynamic@5.2.10/bundles/platform-browser-dynamic.umd.js',
'@angular/material': 'angular:material@5.2.10/bundles/material.umd.js',
'rxjs': 'https://unpkg.com/rxjs@5.5.10',
// other libraries
'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js'
},
// packages tells the System loader how to load when no filename and/or no extension
packages: {
app: {
defaultExtension: 'js',
meta: {
'./*.js': {
loader: 'systemjs-angular-loader.js'
}
}
},
rxjs: {
defaultExtension: 'js'
}
}
});
})(this);