Skip to content

fix: bundle existing fonts for repeatable builds - #7

Merged
ofershap merged 1 commit into
mainfrom
fix/self-host-build-fonts
Nov 15, 2026
Merged

ofershap merged 1 commit into
mainfrom
fix/self-host-build-fonts

Conversation

@ofershap

Copy link
Copy Markdown
Owner

The post-merge CI build repeatedly fails in Next's Google font loader while parsing a fetched font URL (Cannot read properties of null (reading '1')). The production deploy build and local build pass, so retrying does not make the build path reliable.

This narrow fix bundles the exact ten WOFF2 files emitted by a successful build, preserving all 31 font-face declarations, unicode ranges, requested weights, fallback metrics, three Latin preloads and CSS variables. No font family, typography, layout or cache behavior is changed. The upstream SIL Open Font License notices are included.

Local lint passes with the same eight pre-existing warnings. Next and OpenNext builds pass without the Google-font build-time fetch. Preview pixels are being compared with production before merge.

Preview: https://gitshow-font-preview.ofershap.workers.dev

@ofershap
ofershap merged commit c1ba6e0 into main Nov 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant