Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🔨 chore: fix webpack build OOM (#9066)

Arvin Xua9c660c26e9a
diff --git a/next.config.ts b/next.config.ts
index 42a67303a91..1939e0ea108 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -38,6 +38,7 @@ const nextConfig: NextConfig = {
// refs: https://github.com/lobehub/lobe-chat/pull/7430
serverMinification: false,
webVitalsAttribution: ['CLS', 'LCP'],
+ webpackMemoryOptimizations: true,
},
async headers() {
const securityHeaders = [