https://github.com/coalaura/gfonter
Extract and combine google fonts imports.
https://github.com/coalaura/gfonter
Last synced: 2 months ago
JSON representation
Extract and combine google fonts imports.
- Host: GitHub
- URL: https://github.com/coalaura/gfonter
- Owner: coalaura
- Created: 2023-11-16T14:34:34.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-07T12:39:53.000Z (over 1 year ago)
- Last Synced: 2025-02-01T22:46:54.284Z (4 months ago)
- Language: JavaScript
- Homepage: https://npmjs.com/package/@coalaura/gfonter
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# G-Fonter
Automatically extract and replace your google fonts.
### Usage
```javascript
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
})
],
...
});
```