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

Readme

Keywords

Package Sidebar

Install

npm i @coalaura/gfonter

Weekly Downloads

19

Version

1.2.3

License

ISC

Unpacked Size

10.7 kB

Total Files

7

Last publish

Collaborators

  • coalaura