Skip to content

Commit 3791aa9

Browse files
committed
chore: mark config.experimental.incrementalCacheHandlerPath as TS ignored, because it no longer exist in newest major, but we still have to set it for older next versions
1 parent f96af09 commit 3791aa9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/run/config.ts

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ export const setRunConfig = (config: NextConfigComplete) => {
2525
// set the path to the cache handler
2626
config.experimental = {
2727
...config.experimental,
28+
// @ts-expect-error incrementalCacheHandlerPath was removed from config type
29+
// but we still need to set it for older Next.js versions
2830
incrementalCacheHandlerPath: cacheHandler,
2931
}
3032

0 commit comments

Comments
 (0)