From 5ab1ddb9d96ca68bf07684e1059835d3c73cf8db Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Mon, 4 May 2026 14:46:53 +0200 Subject: [PATCH] perf: lazy load pages --- apps/nextjs/next.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/nextjs/next.config.ts b/apps/nextjs/next.config.ts index a3dabe151..e0f496772 100644 --- a/apps/nextjs/next.config.ts +++ b/apps/nextjs/next.config.ts @@ -32,6 +32,8 @@ const nextConfig: NextConfig = { experimental: { optimizePackageImports: ["@mantine/core", "@mantine/hooks", "@tabler/icons-react"], turbopackFileSystemCacheForDev: true, + preloadEntriesOnStart: false, + webpackMemoryOptimizations: true, }, transpilePackages: ["@homarr/ui", "@homarr/notifications", "@homarr/modals", "@homarr/spotlight", "@homarr/widgets"], images: {