-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-profile-main.js
37 lines (32 loc) · 963 Bytes
/
build-profile-main.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
({
appDir: "src",
baseUrl: "scripts",
dir: "build/ipov-wbt",
/*
optimize: "closure",
closure: {
CompilerOptions: {},
CompilationLevel: 'WHITESPACE_ONLY',
loggingLevel: 'WARNING'
},
*/
//Inlines the text for any text! dependencies, to avoid the separate
//async XMLHttpRequest calls to load those dependencies.
inlineText: true,
// Map the name 'jquery' to the correct file
paths: {
"jquery": "require-jquery"
},
modules: [
{
name: "wbt-main",
include: ["jsrender", "swfobject", "net_ipov/wbt/cr", "net_ipov/wbt/jsrender-tags"],
exclude: ["jquery", "amplify.store"] // jquery is already baked in, the theme code needs to be a separate module
},
{
name: "themes/bbf/theme",
exclude: ["jquery", "amplify.store", "wbt-main"]
}
],
fileExclusionRegExp: /^\.|^tests$|^site$/
})