Skip to content

Commit

Permalink
fix: correctly flush cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Sep 24, 2021
1 parent f1fcdfe commit 36736b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/polyfill/polyfill-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function getPolyfillIdentifier(name: PolyfillFeature | PolyfillFeatureInp
export function getPolyfillConfigChecksum(): string {
const shasum = createHash("sha1");

return shasum.update(JSON.stringify(constant.polyfill)).digest("hex");
return shasum.update(JSON.stringify({...constant.polyfill, cacheVersion: constant.cacheVersion})).digest("hex");
}

/**
Expand Down

0 comments on commit 36736b5

Please sign in to comment.