fix(build): add outputFileTracingIncludes to guarantee all MDX blog posts are bundled into the docker standalone image
All checks were successful
All checks were successful
This commit is contained in:
@@ -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({});
|
||||
|
||||
Reference in New Issue
Block a user