index.js
function(treeType) {
    if (treeType === 'vendor') {
      // The treeForVendor returns a different value based on whether or not
      // this addon is a nested dependency
      return caclculateCacheKeyForTree(treeType, this, [!this.parent.parent]);
    } else {
      return this._super.cacheKeyForTree.call(this, treeType);
    }
  }
function(treeType) {
    if (treeType === 'vendor') {
      // The treeForVendor returns a different value based on whether or not
      // this addon is a nested dependency
      return caclculateCacheKeyForTree(treeType, this, [!this.parent.parent]);
    } else {
      return this._super.cacheKeyForTree.call(this, treeType);
    }
  }
function ( treeType ) { if ( treeType === 'vendor' ) { // The treeForVendor returns a different value based on whether or not // this addon is a nested dependency return caclculateCacheKeyForTree ( treeType , this , [ ! this . parent . parent ] ) ; } else { return this . _super . cacheKeyForTree . call ( this , treeType ) ; } }
ember-rollup implements a custom treeForVendor hook, we restore the caching for that hook here
ember - rollup implements a custom treeForVendor hook we restore the caching for that hook here