-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.coffee
32 lines (30 loc) · 1001 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
exports.config =
# See http://brunch.io/#documentation for docs.
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-polyfill.js',
'vendor/scripts/jquery-1.9.1.js',
'vendor/scripts/lodash-1.2.0.js',
'vendor/scripts/backbone-1.0.0.js'
]
after: [
'test/vendor/scripts/test-helper.js'
]
stylesheets:
defaultExtension: 'scss'
joinTo:
'stylesheets/app.css': /^(app|vendor)/
'test/stylesheets/test.css': /^test/
order:
after: ['vendor/styles/helpers.css']
templates:
joinTo: 'javascripts/app.js'