forked from virtUOS/courseware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.js
40 lines (31 loc) · 1.03 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
({
/*optimize: "none",*/
baseUrl: ".",
mainConfigFile: "assets/js/config.js",
include: [
"assets/js/vendor/requirejs.v2.1.11/require-min"
],
name: "assets/js/main-courseware",
out: "assets/js/main-courseware-built.js",
/* TODO: The following lines have to be dynamic! */
deps: [
"blocks/BlubberBlock/js/BlubberBlock",
"blocks/Courseware/js/Courseware",
"blocks/HtmlBlock/js/HtmlBlock",
"blocks/IFrameBlock/js/IFrameBlock",
"blocks/Section/js/Section",
"blocks/TestBlock/js/TestBlock",
"blocks/VideoBlock/js/VideoBlock"
],
/* TODO: The following lines have to be dynamic! */
insertRequire: [
"blocks/BlubberBlock/js/BlubberBlock",
"blocks/Courseware/js/Courseware",
"blocks/HtmlBlock/js/HtmlBlock",
"blocks/IFrameBlock/js/IFrameBlock",
"blocks/Section/js/Section",
"blocks/TestBlock/js/TestBlock",
"blocks/VideoBlock/js/VideoBlock",
"assets/js/main-courseware"
]
})