fix(build): add outputFileTracingIncludes to guarantee all MDX blog posts are bundled into the docker standalone image
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🏗️ Build (push) Successful in 7m20s
Build & Deploy / 🚀 Deploy (push) Successful in 25s
Build & Deploy / 🩺 Smoke Test (push) Successful in 6s
Build & Deploy / 🔔 Notify (push) Successful in 4s

This commit is contained in:
2026-06-03 15:48:28 +02:00
parent 53808c416a
commit 55c25ca203

View File

@@ -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({});