-
Notifications
You must be signed in to change notification settings - Fork 21
/
build.js
56 lines (55 loc) · 1.82 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
({
appDir: 'www',
baseUrl: '.',
mainConfigFile: 'www/app.js',
dir: 'www/build',
modules: [
{
name: 'app',
include: ['controllers/about', 'controllers/dashboard']
},
{
name: 'controllers/curate',
include: [
'JBrowse/Store/Sequence/StaticChunked',
'JBrowse/Store/SeqFeature/NCList',
'JBrowse/View/Track/Sequence',
'JBrowse/View/Track/DraggableHTMLFeatures',
'JBrowse/View/Track/Alignments2',
'JBrowse/View/Track/SNPCoverage'
],
excludeShallow: [
'jquery',
'bootstrap',
'underscore',
'dojo/has',
'dojo/_base/sniff'
]
}
],
paths: {
'dijit/form/_Spinner': 'empty:',
'dijit/form/ValidationTextBox': 'empty:',
'dijit/Tooltip': 'empty:',
'dojo/request': 'empty:',
'dojo/query': 'empty:',
'dijit/layout/ContentPane': 'empty:',
'dijit/Dialog': 'empty:',
'dijit/form/Button': 'empty:',
'dijit/DropDownMenu': 'empty:',
'dijit/MenuItem': 'empty:',
'dijit/CheckedMenuItem': 'empty:',
'dijit/MenuSeparator': 'empty:',
'xstyle/css': 'empty:',
'dgrid/List': 'empty:',
'dijit/form/CheckBox': 'empty:',
'dijit/form/Select': 'empty:',
'dijit/form/TextBox': 'empty:',
'dojox/gfx': 'empty:',
'dojo/number': 'empty:',
'put-selector/put': 'empty:'
},
preserveLicenseComments: false,
optimize: 'uglify2'
//optimize: 'none'
})