3d61c2ce0f2b693e036cd14659dc94ae048c6f49
[framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.1.0 / build / docs.build.js
1 ({
2         appDir: "..",
3         baseUrl: "js",
4         dir: "../compiled/demos",
5
6         optimize: "none",
7
8         //Finds require() dependencies inside a require() or define call.
9         findNestedDependencies: true,
10
11         //If skipModuleInsertion is false, then files that do not use define()
12         //to define modules will get a define() placeholder inserted for them.
13         //Also, require.pause/resume calls will be inserted.
14         //Set it to true to avoid this. This is useful if you are building code that
15         //does not use require() in the built project or in the JS files, but you
16         //still want to use the optimization tool from RequireJS to concatenate modules
17         //together.
18         skipModuleInsertion: true,
19
20         modules: [
21                 {
22                         name: "jquery.mobile.docs",
23                         exclude: [
24                                 "jquery",
25                                 "../external/requirejs/depend",
26                                 "../external/requirejs/order",
27                                 "../external/requirejs/text",
28                                 "../external/requirejs/text!../version.txt"
29                         ]
30                 },
31                 {
32                         name: "jquery.mobile",
33                         exclude: [
34                                 "jquery",
35                                 "../external/requirejs/depend",
36                                 "../external/requirejs/order",
37                                 "../external/requirejs/text",
38                                 "../external/requirejs/text!../version.txt"
39                         ]
40                 }
41         ],
42
43         pragmasOnSave: {
44                 jqmBuildExclude: true
45         },
46
47         //File paths are relative to the build file, or if running a commmand
48         //line build, the current directory.
49         wrap: {
50                 startFile: "wrap.start",
51                 endFile:   "wrap.end"
52         },
53
54         dirExclusionRegExp: /^\.|^build|^compiled|^tmp/
55 })