Use bigger glob pattern to include precachable static assets
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-07-19 15:53:36 +02:00
parent d694c7b442
commit 3b0df1ddfe

View file

@ -8,6 +8,9 @@ const config = {
SvelteKitPWA({ SvelteKitPWA({
registerType: 'autoUpdate', registerType: 'autoUpdate',
strategies: 'generateSW', strategies: 'generateSW',
workbox: {
globPatterns: ['**/*.{js,ts,css,html}'],
},
manifest: { manifest: {
start_url: '/', start_url: '/',
background_color: "#213c8b", background_color: "#213c8b",