unplugin-fonts
unplugin-fonts copied to clipboard
Feature: Adding possibility to choose unicode range
Hey ! First, thank you very much for this very useful plugin ! I'm currently trying to optimize my website and being able to select a unicode range for Google font would be very useful te reduce bundle size 🤗 Thank you 🙏
Hi @pommedepain,
You can use the google.text
option:
// vite.config.js
import { VitePluginFonts } from 'vite-plugin-fonts'
export default {
plugins: [
VitePluginFonts({
// Google Fonts API V2
google: {
text: 'ViteAwsom',
},
}),
],
}