Trying to use subfont to optimize calls to Google Fonts

This commit is contained in:
prototypa
2022-08-10 16:15:14 -04:00
parent 3eeda30b17
commit 84525b8552
2 changed files with 7536 additions and 3 deletions

7534
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,13 +6,14 @@
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",
"build": "astro build", "build": "astro build && subfont -ir --no-fallbacks --root dist",
"preview": "astro preview" "preview": "astro preview"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/image": "^0.3.3", "@astrojs/image": "^0.3.3",
"@astrojs/sitemap": "^1.0.0", "@astrojs/sitemap": "^1.0.0",
"@astrojs/tailwind": "^1.0.0", "@astrojs/tailwind": "^1.0.0",
"astro": "^1.0.0" "astro": "^1.0.0",
"subfont": "^6.9.0"
} }
} }