-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.js
58 lines (58 loc) · 1.92 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
({
appDir: './',
baseUrl: './js',
dir: './dist',
urlArgs: "bust=" + (new Date()).getTime(),
modules: [
{
name: 'main'
}
],
fileExclusionRegExp: /^((r|build)\.js|.git|README.md|servers.json.config|LICENSE|index_ios.html|index_android.html|config.xml|styles.css|estilo.css|chat.css|spinner.css|dist_web.sh)$/,
optimizeCss: 'standard',
removeCombined: true,
paths: {
jquery: 'libs/jquery/jquery-min',
underscore: 'libs/underscore/underscore-min',
iscroll: 'libs/iscroll/src/iscroll',
backbone: 'libs/backbone/backbone-min',
localstorage: 'libs/Backbone.localStorage/backbone.localstorage',
expressoAPI: 'libs/expresso/expressoAPI',
expressoIM: 'libs/expresso/expressoIM',
expressoService: 'libs/expresso/expressoService',
jqueryui: 'libs/jquery-ui/js/jquery-ui-1.10.3.custom.min',
jquery_touchwipe: 'libs/jquery.touchwipe/jquery.touchwipe.min',
jquery_dotdotdot: 'libs/jquery.dotdotdot/jquery.dotdotdot',
jquery_xmpp: 'libs/jquery.xmpp/jquery.xmpp',
moment: 'libs/moment/moment.min',
autocomplete: 'libs/jquery.backbone.widget/jquery.backbone.widgets',
json2: 'libs/json/json2',
jqueryui_datepicker_ptBR: 'libs/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR',
templates: '../templates'
},
shim: {
backbone: {
deps: ['jquery','underscore'],
exports: 'Backbone'
},
moment: {
deps: ['jquery'],
exports: 'moment'
},
underscore: {
exports: "_"
},
jqueryui: {
deps: ['jquery']
},
jquery_touchwipe: {
deps: ['jquery']
},
autocomplete: {
deps: ['jquery']
},
jqueryui_datepicker_ptBR: {
deps: ['jquery', 'jqueryui']
}
}
})