diff --git a/config/pwa.ts b/config/pwa.ts index 5f288d1e..f6a83810 100644 --- a/config/pwa.ts +++ b/config/pwa.ts @@ -6,7 +6,7 @@ const isPreview = process.env.PULL_REQUEST === 'true' const pwa: VitePWANuxtOptions = { mode: isCI ? 'production' : 'development', // disabled PWA only on production - disable: !isPreview && process.env.VITE_DEV_PWA !== 'true', + disable: !isCI && process.env.VITE_DEV_PWA !== 'true', scope: '/', srcDir: './service-worker', filename: 'sw.ts',