diff --git a/vite.config.ts b/vite.config.ts index dffc648..4f23da9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,6 +16,10 @@ export default defineConfig(({ mode }) => { srcDir: 'src', filename: 'sw.ts', strategies: 'injectManifest', + workbox: { + clientsClaim: true, + skipWaiting: true + }, manifest: { name: 'Notice Book', short_name: 'NBook',