next.js
a2f4ca52 - fix: cache next font during development to avoid FOUC (#60175)

Commit
2 years ago
fix: cache next font during development to avoid FOUC (#60175) In fact, this is an issue that has been solved in #52033, but it seems #52492 introduced it again. > 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. Fixes #50782 --------- Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Author
Parents
Loading