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