From f290ac264350467b95417c797c0efb84864f7fac Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 4 May 2017 13:01:58 +0200 Subject: [PATCH] Use preconcatTree hook for filterInitializers --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e64f287..095db8a 100644 --- a/index.js +++ b/index.js @@ -27,6 +27,10 @@ module.exports = { var tree = mergeTrees(trees, { overwrite: true }); - return filterInitializers(tree); + return mergeTrees(trees, { overwrite: true }); + }, + + preconcatTree: function(tree) { + return filterInitializers(tree, this.app.name); } };