Fix SW Caching

This commit is contained in:
Shiny Nematoda 2023-05-01 09:44:34 +00:00 committed by vrifox
parent 627b123b0c
commit 47974fdfde
No known key found for this signature in database
GPG key ID: D40098E5B60B2197
5 changed files with 324 additions and 304 deletions

View file

@ -11,7 +11,7 @@ export default defineConfig({
VitePWA({
registerType: 'autoUpdate',
workbox: {
globPatterns: ['**/*.{css,html,png,svg}', 'manifest.webmanifest'],
globPatterns: ['**/*.{css,html,png,svg}', 'manifest.webmanifest', '**/index*.js', '**/shaka*.js'],
},
manifest: {
name: 'Hyperpipe',