👀 Turbo & Contentlayer Issue #5440
-
Page to Investigatehttps://nextjs.org/docs/architecture/turbopack Steps to ReproduceHey, Expectations
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is likely related to this issue vercel/turborepo#6365 where turborepo fails to invalidate the cache over mdx file changes, likely occurring in turbopack due to shared logic and code, or as Anthony points out some internal issues with internal webpack cache failing to invalidate. Likely FixEnsure that mdx files are seen as a build/dev dependency and rebuild is triggered on hash change. |
Beta Was this translation helpful? Give feedback.
This is likely related to this issue vercel/turborepo#6365 where turborepo fails to invalidate the cache over mdx file changes, likely occurring in turbopack due to shared logic and code, or as Anthony points out some internal issues with internal webpack cache failing to invalidate.
Likely Fix
Ensure that mdx files are seen as a build/dev dependency and rebuild is triggered on hash change.