diff --git a/vite.config.ts b/vite.config.ts index 7ab023f..5610127 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -32,7 +32,8 @@ export default defineConfig({ tailwindcss(), VitePWA({ injectRegister: 'auto', - workbox:{ + registerType: 'autoUpdate', + workbox: { maximumFileSizeToCacheInBytes: 10 * 1024 * 1024, // 10MB } }),