Releases: cssninjaStudio/unplugin-fonts
Releases · cssninjaStudio/unplugin-fonts
v1.3.1
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
- Introduce link tag filter hook by @BenBE in #71
- fix: google font missing injectTo by @chunlampang in #75
New Contributors
- @BenBE made their first contribution in #71
- @chunlampang made their first contribution in #75
Full Changelog: v1.2.0...v1.3.0
v1.2.0
Features
- add fontBaseUrl and preconnectUrl on google font provider (12684bc), closes #78
- add fontBaseUrl on typekit font provider (724026b)
- support vite 6.0 (#77) (38332ba)
- add step for adding font links in svelte:head to sveltekit installation guide by @Mef45 in #67
New Contributors
Full Changelog: v1.1.1...v1.2.0
v1.1.0
v1.0.0
What's Changed
- Migrate to unplugin
- astro/nuxt/sveltekit/vitepress examples
- fontsource provider
- custom font transform
Migrating from vite-plugin-fonts
// vite.config.ts
-import { VitePluginFonts } from 'vite-plugin-fonts'
+import Unfonts from 'unplugin-fonts/vite'
export default defineConfig({
plugins: [
- VitePluginFonts({
+ Unfonts({
/* options */
}),
],
})
// main.ts
-import 'virtual:fonts.css'
+import 'unfonts.css'
Full Changelog: v0.7.0...v1.0.0