-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
45 lines (45 loc) · 1.01 KB
/
config.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
require.config({
// baseUrl: "./",
deps: ['jquery', 'pubsub', 'bootstrap', 'vexflow'],
paths: {
jquery: 'node_modules/jquery/dist/jquery.min',
jquery_autocomplete: 'external-libs/jquery.autocomplete.min',
vexflow: 'node_modules/vexflow/releases/vexflow-min',
Midijs: 'external-libs/Midijs/midijs.min',
base64: 'external-libs/base64',
pubsub: 'external-libs/tiny-pubsub.min',
mustache: 'node_modules/mustache/mustache.min',
text: 'node_modules/requirejs-text/text',
bootstrap: 'node_modules/bootstrap/dist/js/bootstrap.min',
jsPDF: 'node_modules/jspdf/dist/jspdf.min',
underscore: 'node_modules/underscore/underscore-min',
store: 'node_modules/store/store.min',
},
shim: {
jsPDF : {
exports : 'jsPDF'
},
jquery: {
exports: '$'
},
pubsub: {
deps: ['jquery']
},
bootstrap: {
deps: ['jquery']
},
vexflow: {
exports: 'Vex'
},
Midijs: {
exports: 'MIDI',
deps: ['base64']
},
underscore : {
exports: '_'
},
jquery_autocomplete: {
deps: ['jquery']
}
}
});