-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.js
156 lines (149 loc) · 3.87 KB
/
build.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
// nodejs r.js -o build.js
({
appDir: ".",
baseUrl : ".",
dir : "./build",
useStrict : true,
mainConfigFile: './build-config.js',
// findNestedDependencies: true,
separateCSS: true,
wrapShim: false,
fileExclusionRegExp: /\.git|^tests$|^build$|^coverage$|^doc$|^jsdoc$|^examples$|^r\.js|\.md|^package\.json|^composer\.json|^bower\.json|^init\.js|^initDev\.js|^\.jshintrc|^\.flowconfig|^build\.js|^build-jsdoc\.js|^build\-config\.js/,
paths : {
qui : 'qui'
},
modules: [{
name: 'qui/QUI'
}, {
name: 'qui/Locale'
}, {
name: 'qui/utils/Encoding'
}, {
name: 'qui/utils/String'
}, {
name: 'qui/utils/Elements'
}, {
name: 'qui/utils/Object'
}, {
name: 'qui/utils/Math'
}, {
name: 'qui/utils/Form'
}, {
name: 'qui/utils/NoSelect'
}, {
name: 'qui/utils/Controls'
}, {
name: 'qui/controls/Control'
}, {
name: 'qui/controls/contextmenu/Bar'
}, {
name: 'qui/controls/contextmenu/Seperator'
}, {
name: 'qui/controls/contextmenu/Menu'
}, {
name: 'qui/controls/contextmenu/BarItem'
}, {
name: 'qui/controls/contextmenu/Item'
}, {
name: 'qui/controls/loader/Loader'
}, {
name: 'qui/controls/windows/Prompt'
}, {
name: 'qui/controls/windows/Popup'
}, {
name: 'qui/controls/windows/locale/de'
}, {
name: 'qui/controls/windows/locale/en'
}, {
name: 'qui/controls/windows/Alert'
}, {
name: 'qui/controls/windows/Submit'
}, {
name: 'qui/controls/windows/Confirm'
}, {
name: 'qui/controls/buttons/Seperator'
}, {
name: 'qui/controls/buttons/Select'
}, {
name: 'qui/controls/buttons/Button'
}, {
name: 'qui/controls/sitemap/Filter'
}, {
name: 'qui/controls/sitemap/Map'
}, {
name: 'qui/controls/sitemap/Item'
}, {
name: 'qui/controls/input/Params'
}, {
name: 'qui/controls/utils/Background'
}, {
name: 'qui/controls/utils/Progressbar'
}, {
name: 'qui/controls/toolbar/Bar'
}, {
name: 'qui/controls/toolbar/Tab'
}, {
name: 'qui/controls/bookmarks/Panel'
}, {
name: 'qui/controls/taskbar/Bar'
}, {
name: 'qui/controls/taskbar/Task'
}, {
name: 'qui/controls/taskbar/Group'
}, {
name: 'qui/controls/breadcrumb/Bar'
}, {
name: 'qui/controls/breadcrumb/Item'
}, {
name: 'qui/controls/desktop/Tasks'
}, {
name: 'qui/controls/desktop/panels/Sheet'
}, {
name: 'qui/controls/desktop/Workspace'
}, {
name: 'qui/controls/desktop/Column'
}, {
name: 'qui/controls/desktop/Panel'
}, {
name: 'qui/controls/messages/Information'
}, {
name: 'qui/controls/messages/Error'
}, {
name: 'qui/controls/messages/Attention'
}, {
name: 'qui/controls/messages/Message'
}, {
name: 'qui/controls/messages/Handler'
}, {
name: 'qui/controls/messages/Favico'
}, {
name: 'qui/controls/messages/Success'
}, {
name: 'qui/controls/messages/Panel'
}, {
name: 'qui/lib/element-query/ElementQuery'
}, {
name: 'qui/lib/element-query/ResizeSensor'
}, {
name: 'qui/classes/DOM'
}, {
name: 'qui/classes/storage/Polyfill'
}, {
name: 'qui/classes/storage/Storage'
}, {
name: 'qui/classes/utils/DragDrop'
}, {
name: 'qui/classes/QUI'
}, {
name: 'qui/classes/request/Ajax'
}, {
name: 'qui/classes/Locale'
}, {
name: 'qui/classes/Controls'
}],
// optimisation
optimize : 'uglify2',
optimizeCss : "standard",
generateSourceMaps: true,
preserveLicenseComments : false
})