-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[code-infra] Fix missing font loading for local fonts #20480
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
Conversation
|
Deploy preview: https://deploy-preview-20480--material-ui-x.netlify.app/ Bundle size report
|
| ); | ||
| } | ||
|
|
||
| if (typeof window !== 'undefined' && process.env.NODE_ENV === 'production') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing as the import from core _app.js now performs this
|
Not sure what happened. I retried this as suggested by @Janpot and it worked now. Maybe a cache issue? I don't remember if I had purged the |
bernardobelchior
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working locally now, and without any warnings 👍
Thanks!

Reported in #20407 (comment)
The original PR was tested with only google fonts fixed. In the meantime monorepo had also moved to local fonts in
next/font.See https://deploy-preview-20480--material-ui-x.netlify.app/x/react-data-grid/