-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.js
More file actions
35 lines (35 loc) · 867 Bytes
/
build.js
File metadata and controls
35 lines (35 loc) · 867 Bytes
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
({
baseUrl: 'scripts',
name: 'main',
out: 'main-build.js',
shim: {
'vendorUnderscore': {
exports: '_'
},
'jquery': {
exports: '$'
},
'backbone': {
deps: [ 'vendorUnderscore', 'jquery' ],
exports: 'Backbone'
},
'd3': {
exports: 'd3'
},
'highcharts': {
deps: ['jquery'],
exports: 'Highcharts'
}
},
paths: {
jquery: 'vendor/jquery-min',
// The underscore lib is under vendor
vendorUnderscore: 'vendor/underscore-min',
// we extend it and alias 'underscore' to our extension
underscore: 'utils',
backbone: 'vendor/backbone-min',
d3: 'vendor/d3.v2',
text: 'vendor/text',
highcharts: 'vendor/highcharts'
}
})