From 5299e801c54e45b3be192de2ecaedc7efa716b17 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 5 Aug 2024 14:15:30 -0700 Subject: [PATCH] Remove invalid line from memory usage doc (#68551) This line is invalid as you can't augment a frozen object and also since we're disabling webpack cache for a build there shouldn't be multiple memory generations anyways --- .../06-optimizing/13-memory-usage.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/06-optimizing/13-memory-usage.mdx b/docs/02-app/01-building-your-application/06-optimizing/13-memory-usage.mdx index a0bb47de9ea76..7f5239604750e 100644 --- a/docs/02-app/01-building-your-application/06-optimizing/13-memory-usage.mdx +++ b/docs/02-app/01-building-your-application/06-optimizing/13-memory-usage.mdx @@ -82,7 +82,6 @@ const nextConfig = { config.cache = Object.freeze({ type: 'memory', }) - config.cache.maxMemoryGenerations = 0 } // Important: return the modified config return config