Skip to content

v0.0.4#17

Merged
southpolesteve merged 1 commit intomainfrom
version/0.0.4
Feb 24, 2026
Merged

v0.0.4#17
southpolesteve merged 1 commit intomainfrom
version/0.0.4

Conversation

@southpolesteve
Copy link
Copy Markdown
Collaborator

Version bump for published npm release.

@github-actions
Copy link
Copy Markdown

Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original

@southpolesteve southpolesteve merged commit 97d7e20 into main Feb 24, 2026
17 checks passed
@southpolesteve southpolesteve deleted the version/0.0.4 branch February 24, 2026 19:22
southpolesteve added a commit that referenced this pull request Feb 27, 2026
During production builds, the vinext:google-fonts plugin fetches Google Fonts
CSS + .woff2 files, caches them in .vinext/fonts/, and rewrites font constructor
calls to inject @font-face CSS pointing at local files. No requests to Google
at runtime. Dev mode still uses CDN for fast iteration.

- fetchAndCacheFont() downloads CSS + woff2, caches to .vinext/fonts/
- Plugin transform injects _selfHostedCSS into font options during build
- Shim accepts _selfHostedCSS for inline @font-face injection (SSR + client)
- Exported buildGoogleFontsUrl for reuse
- 29 new tests (shim behavior, plugin hooks, network fetch integration)
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