From 829e869f795012c08f5643a047b3f46c61dd0168 Mon Sep 17 00:00:00 2001 From: Jo Liss Date: Fri, 11 Apr 2014 00:20:26 +0000 Subject: [PATCH] Use new broccoli-bower plugin --- Brocfile.js | 3 ++- package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Brocfile.js b/Brocfile.js index 288ea1a..948d31a 100644 --- a/Brocfile.js +++ b/Brocfile.js @@ -6,6 +6,7 @@ module.exports = function (broccoli) { var compileSass = require('broccoli-sass') var pickFiles = require('broccoli-static-compiler') var mergeTrees = require('broccoli-merge-trees') + var findBowerTrees = require('broccoli-bower') var env = require('broccoli-env').getEnv() function preprocess (tree) { @@ -46,7 +47,7 @@ module.exports = function (broccoli) { if (env !== 'production') { sourceTrees.push(tests) } - sourceTrees = sourceTrees.concat(broccoli.bowerTrees()) + sourceTrees = sourceTrees.concat(findBowerTrees()) var appAndDependencies = new mergeTrees(sourceTrees, { overwrite: true }) diff --git a/package.json b/package.json index 10c9da9..68dc1f4 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "broccoli-template": "^0.1.0", "broccoli-coffee": "^0.1.0", "broccoli-sass": "^0.1.0", - "broccoli-merge-trees": "^0.1.3" + "broccoli-merge-trees": "^0.1.3", + "broccoli-bower": "^0.2.0" } }