Skip to content

Commit

Permalink
fix(Build): also apply whitelist/blacklist based "tree shaking" t…
Browse files Browse the repository at this point in the history
…o app tree (re-exports of addon tree)

Fixes #472
  • Loading branch information
simonihmig committed Apr 21, 2018
1 parent 59483fe commit a8fa8d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ module.exports = {
return this.getBootstrapVersion() === 3 ? 4 : 3;
},

treeForApp(tree) {
tree = this.filterComponents(tree);
return this._super.treeForApp.call(this, tree);
},

treeForAddon(tree) {
let bsVersion = this.getBootstrapVersion();
let otherBsVersion = this.getOtherBootstrapVersion();
Expand Down

0 comments on commit a8fa8d1

Please sign in to comment.