G-Fonter
Automatically extract and replace your google fonts.
Usage
import { gFonterVitePlugin } from "@coalaura/gfonter";
export default defineConfig({
plugins: [
...,
gFonterVitePlugin({
whitelist: ["Roboto"], // Will only download and replace Roboto
blacklist: ["Roboto"], // Will download and replace all fonts except Roboto
})
],
...
});