Skip to content

Instantly share code, notes, and snippets.

@jaketrent
Created March 12, 2014 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaketrent/9512032 to your computer and use it in GitHub Desktop.
Save jaketrent/9512032 to your computer and use it in GitHub Desktop.
Broccoli config for coffee/concat w/ bower_components
var coffee = require('broccoli-coffee')
var concat = require('broccoli-concat')
module.exports = function (broccoli) {
var clientTree = broccoli.makeTree('client')
var bowerTree = broccoli.makeTree('bower_components')
var tree = new broccoli.MergedTree([
clientTree,
bowerTree
])
tree = coffee(tree)
tree = concat(tree, {
inputFiles: [
'js/**/*.js',
'firebase/firebase.js'
],
outputFile: '/dist.js'
})
return tree
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment