We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61484b6 commit 6166646Copy full SHA for 6166646
packages/cloudflare/src/cli/build/patches/plugins/fetch-cache-wait-until.ts
@@ -15,7 +15,10 @@ import type { ContentUpdater } from "./content-updater.js";
15
export function patchFetchCacheSetMissingWaitUntil(updater: ContentUpdater) {
16
return updater.updateContent(
17
"patch-fetch-cache-set-missing-wait-until",
18
- { filter: /\.(js|mjs|cjs|jsx|ts|tsx)$/, contentFilter: /Failed to set fetch cache/ },
+ {
19
+ filter: /(server\/chunks\/.*\.js|.*\.runtime\..*\.js|patch-fetch\.js)$/,
20
+ contentFilter: /Failed to set fetch cache/,
21
+ },
22
({ contents }) => {
23
contents = patchCode(contents, ruleForMinifiedCode);
24
return patchCode(contents, ruleForNonMinifiedCode);
0 commit comments