feat: self-hosting existing google fonts (#8540)

This commit is contained in:
Marcel Mraz 2024-09-24 17:30:21 +02:00 committed by GitHub
parent 6dfa18414a
commit a80cb5896a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 47 additions and 200 deletions

View file

@ -48,6 +48,8 @@ export default defineConfig({
},
},
sourcemap: true,
// don't auto-inline small assets (i.e. fonts hosted on CDN)
assetsInlineLimit: 0,
},
plugins: [
woff2BrowserPlugin(),