@coalaura/gfonter

1.2.3 • Public • Published

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
		})
	],
	...
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @coalaura/gfonter

      Weekly Downloads

      0

      Version

      1.2.3

      License

      ISC

      Unpacked Size

      10.7 kB

      Total Files

      7

      Last publish

      Collaborators

      • coalaura