Skip to content

Commit 199a26f

Browse files
authored
refactor: export patchBackgroundRevalidation from patches/index.js (opennextjs#827)
1 parent 667f735 commit 199a26f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/open-next/src/build/createServerBundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ import * as buildHelper from "./helper.js";
2222
import { installDependencies } from "./installDeps.js";
2323
import { type CodePatcher, applyCodePatches } from "./patch/codePatcher.js";
2424
import {
25+
patchBackgroundRevalidation,
2526
patchEnvVars,
2627
patchFetchCacheForISR,
2728
patchFetchCacheSetMissingWaitUntil,
2829
patchNextServer,
2930
patchUnstableCacheForISR,
3031
} from "./patch/patches/index.js";
31-
import { patchBackgroundRevalidation } from "./patch/patches/patchBackgroundRevalidation.js";
3232

3333
interface CodeCustomization {
3434
// These patches are meant to apply on user and next generated code

packages/open-next/src/build/patch/patches/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ export {
55
patchUnstableCacheForISR,
66
} from "./patchFetchCacheISR.js";
77
export { patchFetchCacheSetMissingWaitUntil } from "./patchFetchCacheWaitUntil.js";
8+
export { patchBackgroundRevalidation } from "./patchBackgroundRevalidation.js";

0 commit comments

Comments
 (0)