-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.coffee
37 lines (30 loc) · 940 Bytes
/
config.coffee
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
# See https://github.com/brunch/brunch/blob/stable/docs/config.md for docs.
exports.config =
paths:
watched:
[ 'app-base', 'test', 'vendor', # defaults
'app-extend' # extending app-base
]
files:
javascripts:
joinTo:
'javascripts/app-base.js' : /^app-base/
'javascripts/app-extend.js' : /^app-extend/
'javascripts/vendor.js' : /^(?!app(-base|-extend))/
order:
after: [
'vendor/analytics.js'
]
stylesheets:
joinTo:
'stylesheets/app-base.css' : /^app-base/
'stylesheets/app-extend.css' : /^app-extend/
templates:
joinTo:
'javascripts/app-base.js' : /^app-base/
'javascripts/app-extend.js' : /^app-extend/
modules:
nameCleaner: (path) ->
path.replace(/^app(-base|-extend)\//, '') # clean theme from name to override app
server:
port: 3331