-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsystemjs.config.js
42 lines (39 loc) · 1.09 KB
/
systemjs.config.js
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
SystemJS.config({
paths: {
'npm:': 'node_modules/'
},
map: {
ts: 'npm:plugin-typescript/lib',
typescript: 'npm:typescript',
'@angular/common': 'npm:@angular/common/bundles/common.umd.js',
'@angular/core': 'npm:@angular/core/bundles/core.umd.js',
'@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js',
'@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js',
'@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
rxjs: 'npm:rxjs',
'od-virtualscroll': 'npm:od-virtualscroll/dist/bundle/od-virtualscroll.umd.js'
},
packages: {
ts: {main: 'plugin.js'},
typescript: {
main: 'lib/typescript.js',
meta: {
'lib/typescript.js': {
'exports': 'ts'
}
}
},
src: {
main: 'main.ts',
defaultExtension: 'ts',
meta: {'*.ts': {loader:'ts'}}
},
rxjs: {
defaultExtension: 'js'
}
},
transpiler: 'ts',
typescriptOptions: {
tsconfig: '../../../tsconfig.json'
}
});