-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font Optimization produces empty font definitions #19159
Milestone
Comments
timneutkens
added
kind: bug
and removed
bug
Issue was opened via the bug report template.
labels
Nov 16, 2020
kodiakhq bot
pushed a commit
that referenced
this issue
Dec 4, 2020
- Making font optimizations as default - Re-enabling tests - Fixes #19159
Did this get fixed? I still see the |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
I've enabled experimental font optimization in
next.config.js
, but it does not work quite as described in the PR that introduced it.To Reproduce
git clone https://github.com/lukevmorris/font-optimization cd font-optimization npm install npm run build npm run start
<head>
of the documentExpected behavior
The tag is transformed as expected
The .next/server/font-manifest.json contains font definitions as fetched from
https://fonts.googleapis.com/css...
Actual behavior
The style tag exists but is empty:
Also the font-manifest.json file exists but contains just an empty array:
System information
The text was updated successfully, but these errors were encountered: