source: Dev/trunk/src/client/util/buildscripts/profiles/node.profile.js @ 483

Last change on this file since 483 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 2.5 KB
Line 
1//
2// This is an example profile that may be used as a starting point for a build targeted at node.js
3//
4// Note: generally, there will be very little performance improvement in the node.js environment since
5// that environment does not have the latency and bandwidth issues present in the browser environment.
6//
7var profile = (function(){
8        return {
9                // relative to this file
10                basePath:"../../..",
11
12                // relative to base path
13                releaseDir:"./dojo-node",
14
15                packages:[{
16                        name:"dojo",
17                        location:"./dojo"
18                }],
19
20
21                defaultConfig:{
22                        hasCache:{
23                                'dojo-built':1,
24                                'dojo-loader':1
25                                // recall the dojo/_base/configNode will config the node environment
26                        },
27                        async:1
28                },
29
30                // since this build it intended to be utilized with properly-expressed AMD modules;
31                // don't insert absolute module ids into the modules
32                insertAbsMids:0,
33
34                // these are all the has feature that affect the loader and/or the bootstrap
35                // the settings below are optimized for the smallest AMD loader that is configurable
36                staticHasFeatures:{
37                        // dojo/dojo
38                        'config-dojo-loader-catches':0,
39
40                        // dojo/dojo
41                        'config-tlmSiblingOfDojo':0,
42
43                        // dojo/dojo
44                        'dojo-amd-factory-scan':1,
45
46                        // dojo/dojo
47                        'dojo-combo-api':0,
48
49                        // dojo/_base/config, dojo/dojo
50                        'dojo-config-api':1,
51
52                        // dojo/main
53                        'dojo-config-require':0,
54
55                        // dojo/_base/kernel
56                        'dojo-debug-messages':0,
57
58                        // dojo/dojo
59                        'dojo-dom-ready-api':0,
60
61                        // dojo/main
62                        'dojo-firebug':0,
63
64                        // dojo/_base/kernel
65                        'dojo-guarantee-console':0,
66
67                        // dojo/has
68                        'dojo-has-api':1,
69
70                        // dojo/dojo
71                        'dojo-inject-api':1,
72
73                        // dojo/_base/config, dojo/_base/kernel, dojo/_base/loader, dojo/ready
74                        'dojo-loader':1,
75
76                        // dojo/dojo
77                        'dojo-log-api':0,
78
79                        // dojo/_base/kernel
80                        'dojo-modulePaths':0,
81
82                        // dojo/_base/kernel
83                        'dojo-moduleUrl':0,
84
85                        // dojo/dojo
86                        'dojo-publish-privates':0,
87
88                        // dojo/dojo
89                        'dojo-requirejs-api':0,
90
91                        // dojo/dojo
92                        'dojo-sniff':0,
93
94                        // dojo/dojo, dojo/i18n, dojo/ready
95                        'dojo-sync-loader':0,
96
97                        // dojo/dojo
98                        'dojo-test-sniff':0,
99
100                        // dojo/dojo
101                        'dojo-timeout-api':0,
102
103                        // dojo/dojo
104                        'dojo-trace-api':0,
105
106                        // dojo/dojo
107                        'dojo-undef-api':0,
108
109                        // dojo/i18n
110                        'dojo-v1x-i18n-Api':0,
111
112                        // dojo/_base/xhr
113                        'dojo-xhr-factory':0,
114
115                        // dojo/_base/loader, dojo/dojo, dojo/on
116                        'dom':0,
117
118                        // dojo/dojo
119                        'host-node':1,
120
121                        // dojo/dojo
122                        'host-browser':0,
123
124                        // dojo/_base/array, dojo/_base/connect, dojo/_base/kernel, dojo/_base/lang
125                        'extend-dojo':1
126                }
127        };
128})();
Note: See TracBrowser for help on using the repository browser.