Fixed
Load font files only when needed to avoid unnecessary I/O
You can now load font files lazily, which prevents unnecessary I/O operations and avoids potential import-time rejections.
ยท1 min read
Font files are only loaded when an image is requested, allowing you to prevent unnecessary file reads at import time. The updated implementation uses filesystem paths rather than Turbopack asset URLs, ensuring that fonts are reused efficiently without being prematurely loaded. This change helps you manage resource usage better and allows retrying in case of temporary loading failures.