From e92443b36283b00c2a2504949c7403ad057397f7 Mon Sep 17 00:00:00 2001 From: Trance-0 <60459821+Trance-0@users.noreply.github.com> Date: Tue, 11 Feb 2025 21:10:47 -0600 Subject: [PATCH] Update next.config.mjs --- next.config.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 590416d..b8fab84 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -13,7 +13,11 @@ const withNextra = nextra({ } }) -export default withNextra() +export default withNextra({ + experimental: { + // optimize memory usage: https://nextjs.org/docs/app/building-your-application/optimizing/memory-usage + webpackMemoryOptimizations: true, + },}) // If you have other Next.js configurations, you can pass them as the parameter: // export default withNextra({ /* other next.js config */ }) \ No newline at end of file