diff --git a/index.js b/index.js index 465e1058c..294cbb4a8 100644 --- a/index.js +++ b/index.js @@ -218,23 +218,10 @@ module.exports = { let newTree = new MergeTrees(trees); - return newTree; - }, - - /** - * After the entire Broccoli tree has been built for the `dist` directory, - * adds the `fastboot-config.json` file to the root. - * - */ - postprocessTree(type, tree) { - if (type === 'all') { - let fastbootConfigTree = this._buildFastbootConfigTree(tree); - - // Merge the package.json with the existing tree - return new MergeTrees([tree, fastbootConfigTree], {overwrite: true}); - } + let fastbootConfigTree = this._buildFastbootConfigTree(newTree); - return tree; + // Merge the package.json with the existing tree + return new MergeTrees([newTree, fastbootConfigTree], {overwrite: true}); }, /**