🍱 Modify cache glob

This commit is contained in:
LittleSheep 2024-03-31 22:35:39 +08:00
parent 18d70382ff
commit 276c4f5dfe

View File

@ -37,7 +37,8 @@ export default defineConfig({
}, },
workbox: { workbox: {
sourcemap: true, sourcemap: true,
cleanupOutdatedCaches: true cleanupOutdatedCaches: true,
globPatterns: ['**/*.{js,css,ico,png,svg}'],
} }
}) })
], ],