Fix SW Caching

This commit is contained in:
Shiny Nematoda 2023-05-01 09:44:34 +00:00
parent a9dfca0bf0
commit 99612733a1
No known key found for this signature in database
GPG key ID: 367DA4C64DF057AD
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',