perf: cache fonts on PWA (#1039)

This commit is contained in:
Jan Lucansky 2023-08-11 13:17:10 +02:00 committed by GitHub
parent 9ea02fbf8c
commit a16fb342b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ export default defineConfig(({ mode }) => {
workbox: {
maximumFileSizeToCacheInBytes: 10000000,
skipWaiting: true,
globPatterns: ['**/*.{js,css,html,ico,png,svg}']
globPatterns: ['**/*.{js,css,html,ico,png,svg,woff,woff2}']
}
})
],