rsnext/test/e2e/next-font
pacexy a2f4ca52e4
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>
2024-01-04 08:54:23 +00:00
..
app Remove experimental fontLoaders option from next.config.js (#46886) 2023-03-13 21:34:43 +00:00
app-old Remove experimental fontLoaders option from next.config.js (#46886) 2023-03-13 21:34:43 +00:00
basepath Add next/font import (#45891) 2023-02-16 15:33:39 +01:00
fonts Update font avg (#41734) 2022-10-24 13:47:19 -07:00
google-fetch-error/pages Add next/font import (#45891) 2023-02-16 15:33:39 +01:00
with-font-declarations-file Remove experimental fontLoaders option from next.config.js (#46886) 2023-03-13 21:34:43 +00:00
with-proxy Use https_proxy environment variable in next/font/google (#46822) 2023-03-08 12:23:32 -08:00
without-preloaded-fonts/pages Remove experimental fontLoaders option from next.config.js (#46886) 2023-03-13 21:34:43 +00:00
basepath.test.ts Add next/font import (#45891) 2023-02-16 15:33:39 +01:00
google-fetch-error.test.ts Integrating capsize latest (#47428) 2023-03-26 20:29:28 -07:00
google-font-mocked-responses.js @next/font change default font-display (#45430) 2023-01-31 08:26:38 -08:00
index.test.ts fix: cache next font during development to avoid FOUC (#60175) 2024-01-04 08:54:23 +00:00
with-font-declarations-file.test.ts Remove experimental fontLoaders option from next.config.js (#46886) 2023-03-13 21:34:43 +00:00
with-proxy.test.ts type check tests (and convert next-test-utils.js to ts) (#51071) 2023-06-23 17:42:50 +00:00
without-preloaded-fonts.test.ts Remove experimental fontLoaders option from next.config.js (#46886) 2023-03-13 21:34:43 +00:00