Fix font missing during server HMR (#52033)
During development, for fonts created via `next/font` the file path is already containing the hash so we can always have them cached. This fixes the problem of fonts causing FOUC in HMR. Since I can't find an easy way to test it reliably, I recorded two screenshots using the same steps as reproduced in #50879: https://github.com/vercel/next.js/assets/3676859/5cb6a64c-cb4a-4ed4-808f-d7b2d0d6c0a3 With the fix: https://github.com/vercel/next.js/assets/3676859/154b2332-a94b-4392-8132-4be609670745 fix #50879 fix NEXT-1334
Showing
Please
register
or
sign in
to comment