forked from iceddev/frozen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frozen.profile.js
99 lines (91 loc) · 2.23 KB
/
frozen.profile.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
var profile = (function(){
'use strict';
var miniExcludes = {
'frozen/package': 1
};
return {
basePath: "./",
releaseDir: "libs",
action: "release",
layerOptimize: "closure",
mini: true,
selectorEngine: "acme",
dojoBootText: "(function(){ require({cache:{}}); require.boot && require.apply(null, require.boot); })();",
defaultConfig: {
hasCache:{
"dojo-built": 1,
"dojo-loader": 1,
"dom": 1,
"host-browser": 1,
"config-selectorEngine": "acme"
},
async: 1
},
staticHasFeatures: {
"config-deferredInstrumentation": 0,
"config-dojo-loader-catches": 0,
"config-tlmSiblingOfDojo": 0,
"dojo-amd-factory-scan": 0,
"dojo-cdn": 0,
"dojo-combo-api": 0,
"dojo-config-api": 1,
"dojo-config-require": 0,
"dojo-debug-messages": 0,
"dojo-dom-ready-api": 1,
"dojo-firebug": 0,
"dojo-guarantee-console": 0,
"dojo-has-api": 1,
"dojo-inject-api": 1,
"dojo-loader": 1,
"dojo-log-api": 0,
"dojo-modulePaths": 0,
"dojo-moduleUrl": 0,
"dojo-publish-privates": 0,
"dojo-requirejs-api": 0,
"dojo-sniff": 0,
"dojo-sync-loader": 0,
"dojo-test-sniff": 0,
"dojo-timeout-api": 0,
"dojo-trace-api": 0,
"dojo-undef-api": 0,
"dojo-v1x-i18n-Api": 1,
"dom": 1,
"host-browser": 1,
"extend-dojo": 1,
"dom-addeventlistener": 1,
"csp-restrictions": 1
},
layers: {
"dojo/dojo": {
include: [],
customBase: true
},
"dist/frozen": {
include: [
// box2d
'frozen/box2d/BoxGame',
'frozen/box2d/entities',
'frozen/box2d/joints',
// plugins
'frozen/plugins/loadImage',
'frozen/plugins/loadSound',
// reiner
'frozen/reiner/Creature',
// utils
'frozen/utils',
'dojo/keys'
],
customBase: true,
boot: true
}
},
resourceTags: {
miniExclude: function(filename, mid){
return mid in miniExcludes;
},
amd: function(filename, mid) {
return (/\.js$/).test(filename);
}
}
};
})();