-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.coffee
33 lines (31 loc) · 869 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
path = (paths) ->
# (\\/|\\\\) is (\|/), windows or unix-style directory separators
paths.join && paths = paths.join('|')
paths = paths.replace(/\//g, '(\\/|\\\\)')
new RegExp('^' + paths)
exports.config =
plugins:
react:
autoIncludeCommentBlock: yes
harmony: yes
conventions:
assets: path('app/assets')
modules2:
definition: false
wrapper: false
paths:
public: '_public'
files:
javascripts:
joinTo:
'js/app.js': /^app/
'js/vendor.js': /^vendor|bower_components/
order:
before: [
"bower_components/react/react-with-addons.js",
"bower_components/react-async/react-async.js",
"bower_components/react-router-component-bower/react-router-component.js"
]
stylesheets:
joinTo:
'css/app.css': /^(app|vendor|bower_components)/