diff --git a/vite.config.ts b/vite.config.ts index 7881869..5fdb81c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -64,7 +64,7 @@ export default defineConfig(({ mode }) => ({ strategies: "injectManifest", registerType: "autoUpdate", devOptions: { - enabled: mode === "staging" || mode === "dev", + enabled: mode !== "production", }, srcDir: "src/serviceworker", filename: "main.ts",