Created
March 12, 2014 17:36
-
-
Save jaketrent/9512032 to your computer and use it in GitHub Desktop.
Broccoli config for coffee/concat w/ bower_components
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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