From 55c25ca2032eab13350e5dd1b36a0a1c50fab907 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Wed, 3 Jun 2026 15:48:28 +0200 Subject: [PATCH] fix(build): add outputFileTracingIncludes to guarantee all MDX blog posts are bundled into the docker standalone image --- apps/web/next.config.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index bd7f39e..80de046 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -71,6 +71,10 @@ const nextConfig = { }, // In Standalone mode, Next.js expects the tracing root to be the monorepo root outputFileTracingRoot: path.join(dirname, '../../'), + outputFileTracingIncludes: { + '/(site)/blog/[slug]': ['./content/blog/**/*'], + '/blog/[slug]': ['./content/blog/**/*'], + }, }; const withMDX = createMDX({});