From 8a8af948dba50c3ecbfcbe0ceae9a8adc0f9a5d9 Mon Sep 17 00:00:00 2001 From: JoeMakuta Date: Wed, 1 Apr 2026 13:07:27 +0200 Subject: [PATCH] feat: add experimental package import optimization configuration --- surfsense_web/next.config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/surfsense_web/next.config.ts b/surfsense_web/next.config.ts index 263b3e6f6..5414d548d 100644 --- a/surfsense_web/next.config.ts +++ b/surfsense_web/next.config.ts @@ -24,6 +24,16 @@ const nextConfig: NextConfig = { }, ], }, + experimental: { + optimizePackageImports: [ + "lucide-react", + "@tabler/icons-react", + "date-fns", + "@assistant-ui/react", + "@assistant-ui/react-markdown", + "motion", + ], + }, // Turbopack config (used during `next dev --turbopack`) turbopack: { rules: {