Skip to content

Commit 87fdb48

Browse files
authored
Merge pull request #264 from focusreactive/fix/cms-stale-turbopack-build-cache
fix(cms): stop reusing the Turbopack build cache across Vercel deploys
2 parents daf914b + bb8a759 commit 87fdb48

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/cms/next.config.mjs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ const nextConfig = {
2626
transpilePackages: ["@yoast/search-metadata-previews", "@yoast/components"],
2727
experimental: {
2828
inlineCss: true,
29+
// Vercel restores .next/cache between deploys; a reused Turbopack cache shipped a stale styles.css build.
30+
turbopackFileSystemCacheForBuild: false,
2931
},
3032
images: {
3133
localPatterns: [{ pathname: "**", search: "" }, { pathname: "/api/media/**" }],

0 commit comments

Comments
 (0)