-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.coffee
31 lines (29 loc) · 1018 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
exports.config =
# See http://brunch.readthedocs.org/en/latest/config.html for documentation.
paths:
public: 'Resources'
files:
javascripts:
joinTo:
'javascripts/app.js': /^app/
'javascripts/vendor.js': /^vendor/
'test/javascripts/test.js': /^test(\/|\\)(?!vendor)/
'test/javascripts/test-vendor.js': /^test(\/|\\)(?=vendor)/
order:
# Files in `vendor` directories are compiled before other files
# even if they aren't specified in order.before.
before: [
'vendor/scripts/console-helper.js',
'vendor/scripts/jquery-1.8.0.js',
'vendor/scripts/underscore-1.3.3.js',
'vendor/scripts/backbone-0.9.2.js'
]
stylesheets:
joinTo:
'stylesheets/app.css': /^(app|vendor)/
'test/stylesheets/test.css': /^test/
order:
before: ['vendor/styles/normalize-1.0.0.css']
after: ['vendor/styles/helpers.css']
templates:
joinTo: 'javascripts/app.js'