-
Notifications
You must be signed in to change notification settings - Fork 0
/
jspm.config.js
74 lines (72 loc) · 1.33 KB
/
jspm.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
SystemJS.config({
nodeConfig: {
"paths": {
"github:": "jspm_packages/github/",
"npm:": "jspm_packages/npm/",
"jquery": "dist/jquery.js",
"jquery": "dist/jquery.esm.js",
"jquery_helper/": "dist/"
}
},
transpiler: "plugin-babel",
babelOptions: {
"optional": [
"runtime",
"optimisation.modules.system"
]
},
devConfig: {
"map": {
"jquery-ui": "github:components/[email protected]",
"plugin-babel": "npm:[email protected]"
}
},
meta: {
"*.js": {
"babelOptions": {
"stage1": true
}
},
"dist/jquery.js": {
"build": false
},
"dist/jquery.esm.js": {
"build": false
}
},
packages: {
"jquery_helper": {
"main": "jquery.js"
},
"src/jquery_ui": {
"main": "index.js",
"map": {
"jquery": "dist/jquery.js"
}
},
"src/jquery_ui_es6": {
"main": "index.js",
"format": "esm",
"map": {
"jquery": "dist/jquery.esm.js"
}
},
"src/jquery_shim": {
"main": "index.js",
"format": "esm"
}
},
map: {
"jquery": "dist/jquery.js",
"hammerjs": "src/libs/hammer.es6.js"
}
});
SystemJS.config({
packageConfigPaths: [
"github:*/*.json",
"npm:@*/*.json",
"npm:*.json"
],
map: {},
packages: {}
});