-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
57 lines (50 loc) · 837 Bytes
/
config.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
var path = require('path');
exports.config = {
// See docs at https://github.com/brunch/brunch/blob/master/docs/config.md
modules: {
definition: false,
wrapper: false
},
paths: {
"public": 'public',
"watched": ['app','css']
},
files: {
javascripts: {
joinTo: {
'js/app.js': /^app/,
'js/vendor.js': [
/^bower_components/
]
}
},
stylesheets: {
joinTo: {
'css/app.css': /^app/,
'css/bootstrap.css': /^bower_components(\\|\/)(bootstrap)(\\|\/)/
}
}
},
plugins: {
autoReload: {
enabled: 'on'
},
uglify: {
mangle: true,
compress: {
pure_funcs: ['console.log', 'alert']
}
},
cleancss: {
keepSpecialComments: 0,
removeEmpty: true
}
},
server: {
port: 3333
},
conventions: {
//assets: /app(\\|\/)assets(\\|\/)/
},
sourceMaps: true
};