-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathsystem.config.js
executable file
·55 lines (49 loc) · 1.46 KB
/
system.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
43
44
45
46
47
48
49
50
51
52
53
54
55
var angularVersion = '2.0.0';
var rcVersion = '3.0.0';
System.config({
baseUrl: '/',
paths: {
'unpkg:*': 'https://unpkg.com/*'
}
});
System.config({
transpiler: 'typescript',
typescriptOptions: { emitDecoratorMetadata: true },
meta: {
'*': {
deps: [ 'zone.js', 'reflect-metadata' ]
}
}
});
System.config({
packageConfigPaths: [
"unpkg:@*/*/package.json",
"unpkg:*/package.json"
],
map: {
'@angular/core': 'unpkg:@angular/core@'+angularVersion,
'@angular/compiler': 'unpkg:@angular/compiler@'+angularVersion,
'@angular/common': 'unpkg:@angular/common@'+angularVersion,
'@angular/platform-browser': 'unpkg:@angular/platform-browser@'+angularVersion,
'@angular/platform-browser-dynamic': 'unpkg:@angular/platform-browser-dynamic@'+angularVersion,
'@angular/http': 'unpkg:@angular/http@'+angularVersion,
'@angular/router': 'unpkg:@angular/router@'+rcVersion,
'immutable': 'unpkg:[email protected]',
'redux': 'unpkg:[email protected]/dist/redux.js',
'ng2-redux': 'unpkg:[email protected]',
'lodash': 'unpkg:[email protected]',
'invariant': 'unpkg:[email protected]',
'redux-thunk': 'unpkg:[email protected]',
'redux-logger': 'unpkg:[email protected]',
'rxjs': 'unpkg:[email protected]',
'zone.js': 'unpkg:[email protected]',
'reflect-metadata': 'unpkg:[email protected]',
"crypto": "@empty"
},
packages: {
'app': {
defaultExtension: 'ts',
main: './index.ts'
}
}
});