Skip to content

Commit

Permalink
Merge pull request #4616 from luke-h1/chore/add-hmr-cache
Browse files Browse the repository at this point in the history
chore(frontend): enable experimental hmr cache
  • Loading branch information
luke-h1 authored Dec 17, 2024
2 parents 482dbb4 + c5ca36d commit bf6adde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ const nextConfig = {
// Force SWC transform on build to stop Next.js trying to use babel
// since babel is only needed to support vanilla-extract in unit tests
forceSwcTransforms: true,

serverComponentsHmrCache: true,
},
images: {
minimumCacheTTL: 120,
Expand Down

0 comments on commit bf6adde

Please sign in to comment.