1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 14:25:31 -04:00

set experimental.optimisticClientCache to stop prefetching on every hover

https://github.com/vercel/next.js/discussions/40268#discussioncomment-3572642
This commit is contained in:
2022-09-07 17:46:27 -04:00
parent 128dd86862
commit 8e860252c3
5 changed files with 227 additions and 240 deletions

View File

@@ -33,6 +33,7 @@ module.exports = (phase) => {
legacyBrowsers: false,
browsersListForSwc: true,
newNextLinkBehavior: true, // https://github.com/vercel/next.js/pull/36436
optimisticClientCache: false, // https://github.com/vercel/next.js/discussions/40268#discussioncomment-3572642
},
webpack: (config) => {
// this lets us statically import webfonts like we would images, allowing cool things like preloading them