Skip to content

Commit

Permalink
Merge pull request #430 from jaswilli/caching-is-fun
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue authored Dec 22, 2021
2 parents e1f0758 + b9dfc87 commit f752681
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ module.exports = {
},

cacheKeyForTree(treeType) {
if (treeType === 'addon') {
if (treeType === 'vendor') {
return cacheKeyForTree('vendor', this, [this._shouldIncludePolyfill()]);
} else if (treeType === 'addon') {
let isRootBabel = this.parent === this.project;
let shouldIncludeHelpers = isRootBabel && _shouldIncludeHelpers(this._getAppOptions(), this);

Expand Down

0 comments on commit f752681

Please sign in to comment.