Skip to content

Instantly share code, notes, and snippets.

@despairblue
Created March 2, 2013 11:01
Show Gist options
  • Save despairblue/5070528 to your computer and use it in GitHub Desktop.
Save despairblue/5070528 to your computer and use it in GitHub Desktop.
coffee.config
exports.config =
# See http://brunch.readthedocs.org/en/latest/config.html for documentation.
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.3.js',
'vendor/scripts/underscore-1.4.3.js',
'vendor/scripts/backbone-0.9.10.js'
]
after: [
'test/vendor/scripts/test-helper.js'
]
stylesheets:
joinTo:
'stylesheets/app.css': /^(app|vendor)/
'test/stylesheets/test.css': /^test/
order:
before: ['vendor/styles/normalize-2.0.1.css']
after: ['vendor/styles/helpers.css']
templates:
joinTo: 'javascripts/app.js'
modules:
addSourceUrls: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment