-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.build.js
29 lines (25 loc) · 1.1 KB
/
app.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
({
appDir : "htdocs/", //The main app dir
baseUrl : "modules/", //The Module dir
dir : "htdocs-build", //The Post Build Dir
paths : {
jquery : 'vendor/jquery/jquery-1.7.2',
knockout : 'vendor/knockout/knockout-2.1.0',
localstorage : "vendor/knockout/knockout.localStorage",
moment : "vendor/moment/moment-1.6.1",
sammy : "vendor/sammy/sammy-latest.min"
},
locale : "en-us", //Used to inline i18n resources into the built file.
optimize : "uglify",
uglify : {
toplevel : false, //mangle names in the toplevel scope too
ascii_only : true, //encode non-ASCII characters as \uXXXX sequences
beautify : false //output indented code
},
skipPragmas : false, //Skip processing for pragmas.
optimizeCss : "standard", //@import inlining, comment removal and line returns.
useStrict : false, //not all browsers can process and give errors on code for ES5 strict mode
inlineText : true, //Inlines the text for any text! dependencies,
preserveLicenseComments : true,
logLevel : 0
})