Skip to content

Commit

Permalink
Fix missing babel polyfill in vendor tree
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswilli committed Dec 18, 2021
1 parent e1f0758 commit b9dfc87
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 b9dfc87

Please sign in to comment.