Skip to content

Commit

Permalink
feat: add missing incrementalCacheHandlerPath to IncrementalCache ins…
Browse files Browse the repository at this point in the history
…tance
  • Loading branch information
Thiago Morales committed Jul 7, 2022
1 parent ef90539 commit 245f521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/next/server/base-server.ts
Expand Up @@ -362,6 +362,8 @@ export default abstract class Server<ServerOptions extends Options = Options> {
serverDistDir: this.serverDistDir,
maxMemoryCacheSize: this.nextConfig.experimental.isrMemoryCacheSize,
flushToDisk: !minimalMode && this.nextConfig.experimental.isrFlushToDisk,
incrementalCacheHandlerPath:
this.nextConfig.experimental.incrementalCacheHandlerPath,
getPrerenderManifest: () => {
if (dev) {
return {
Expand Down
1 change: 1 addition & 0 deletions packages/next/server/config-shared.ts
Expand Up @@ -534,6 +534,7 @@ export const defaultConfig: NextConfig = {
appDir: false,
// default to 50MB limit
isrMemoryCacheSize: 50 * 1024 * 1024,
incrementalCacheHandlerPath: undefined,
serverComponents: false,
fullySpecified: false,
outputFileTracingRoot: process.env.NEXT_PRIVATE_OUTPUT_TRACE_ROOT || '',
Expand Down

0 comments on commit 245f521

Please sign in to comment.