Open zenzen-sol opened 3 weeks ago
Many thanks for the thoughtful bug report and reproduction! Do you think you could report this upstream in the Next.js repo? Seems like this is something to be addressed there. If you do, can you leave a link here so we can track the upstream issue?
@amannn Thanks. The upstream issue is here.
Thanks a lot, I'll keep an eye on the issue!
Description
I notice that in the NextJS 15 release candidate, the "alternate" links that should appear in the response header are missing if
next/font
is used to optimize fonts. I'm not sure whether this issue belongs to NextJS or next-intl.Verifications
Mandatory reproduction URL
https://github.com/zenzen-sol/next-reproduction-template/tree/sol/repro-001-next-15-broken
Reproduction description
Steps to reproduce:
pnpm run dev
http://localhost:3000
in a browser.✅ OK(Next 14): https://github.com/zenzen-sol/next-reproduction-template/tree/sol/repro-001-Next-14-working
🙅🏻Broken (Next 15rc + next/font): https://github.com/zenzen-sol/next-reproduction-template/tree/sol/repro-001-next-15-broken
✅ OK (Next 15rc without next/font): https://github.com/zenzen-sol/next-reproduction-template/tree/sol/repro-001-next-15-working
Expected behaviour
Both the
next-intl
andnext/font
links should be present in the response header.