Skip to content

Commit 40fec7d

Browse files
committed
fix for experimental react
1 parent 1943441 commit 40fec7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cloudflare/src/cli/build/patches/plugins/next-minimal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fix:
7171
export function patchNextMinimal(updater: ContentUpdater) {
7272
updater.updateContent(
7373
"patch-abortController-next15.2",
74-
{ filter: /app-page\.runtime\.prod\.(js)$/, contentFilter: /new AbortController/ },
74+
{ filter: /app-page(-experimental)?\.runtime\.prod\.(js)$/, contentFilter: /new AbortController/ },
7575
async ({ contents }) => {
7676
return patchCode(contents, abortControllerRule);
7777
}

0 commit comments

Comments
 (0)