chore(deps): update dependency @nuxt/fonts to ^0.14.0#6
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency @nuxt/fonts to ^0.14.0#6renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
8811f84 to
9215b89
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.11.4→^0.14.0Release Notes
nuxt/fonts (@nuxt/fonts)
v0.14.0Compare Source
🚨 Breaking changes
Default font format is now
woff2onlyFont providers previously returned multiple formats (
woff2,woff,truetype, etc.). The default behavior now only resolveswoff2fonts, which is supported by all modern browsers.Your
@font-facedeclarations will typically have fewersrcentries, reducing CSS size. In most cases this is a transparent improvement.To restore the previous behavior or add additional formats:
Available values:
'woff2','woff','ttf','otf','eot'.Cache invalidation
Font metadata caches are now isolated per provider and per provider options. After upgrading, your font metadata cache (
node_modules/.cache/nuxt/fonts/) will be invalidated and fonts will be re-fetched on the next build. This is a one-time occurrence.✨ Features
Resolve fonts from
node_modulesA new built-in
npmprovider can resolve fonts installed as npm packages. If no other provider matches a font family,@nuxt/fontswill now attempt to find it in yournode_modulesvia CDN metadata.Font format resolution
You can control which font formats are resolved via the new
defaults.formatsoption:Provider-specific font family options
You can now pass provider-specific options when configuring individual font families:
throwOnErroroptionConfigure whether font resolution errors should throw or warn:
lightningcss support
If your Nuxt project uses Vite's lightningcss mode for CSS processing (for example, if you're using rolldown-vite!), injected
@font-facedeclarations are now minified with lightningcss instead of esbuild.🩹 Fixes
Cache-Control: public, max-age=31536000, immutableheaders, preventing font flashes during HMR on SSR frameworks.&lang.cssquery strings and inline style IDs), aligning with fontless behavior.👉 Changelog
compare changes
🚀 Enhancements
node_modules(#781)🩹 Fixes
📖 Documentation
🏡 Chore
✅ Tests
🤖 CI
❤️ Contributors
v0.13.0Compare Source
v0.12.1Compare Source
This is a rerelease of 0.12.0, which encountered an issue in the publishing process. See release notes for v0.12.0.
👉 Changelog
compare changes
🏡 Chore
❤️ Contributors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.