-
Notifications
You must be signed in to change notification settings - Fork 20
/
options.js
35 lines (33 loc) · 859 Bytes
/
options.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
module.exports = {
appDir: 'www',
baseUrl: 'js/',
mainConfigFile: 'www/js/common.js',
dir: 'www-release',
modules: [
// First set up the common build layer.
{
// module names are relative to baseUrl
name: 'common',
// List common dependencies here. Only need to list
// top level dependencies, 'include' will find
// nested dependencies.
include: [
'app/models/basicModel',
'jquery',
'bootstrap'
]
},
// Now set up a build layer for each main layer, but exclude
// the common one. If you're excluding a module, the excludee
// must appear before the excluder in this file. Otherwise it will
// get confused.
{
name: 'app/main-about',
exclude: ['common']
},
{
name: 'app/main-contact',
exclude: ['common']
}
]
};