Skip to content

Commit f752681

Browse files
authoredDec 22, 2021
Merge pull request #430 from jaswilli/caching-is-fun
2 parents e1f0758 + b9dfc87 commit f752681

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,9 @@ module.exports = {
275275
},
276276

277277
cacheKeyForTree(treeType) {
278-
if (treeType === 'addon') {
278+
if (treeType === 'vendor') {
279+
return cacheKeyForTree('vendor', this, [this._shouldIncludePolyfill()]);
280+
} else if (treeType === 'addon') {
279281
let isRootBabel = this.parent === this.project;
280282
let shouldIncludeHelpers = isRootBabel && _shouldIncludeHelpers(this._getAppOptions(), this);
281283

0 commit comments

Comments
 (0)