From c183a032c37de97e6e28267b839e1e153458007a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Fri, 21 Jan 2022 07:51:15 +0400 Subject: [PATCH] Disable pwa in dev --- next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.js b/next.config.js index 774809f..9dd5e95 100644 --- a/next.config.js +++ b/next.config.js @@ -2,6 +2,7 @@ const withPWA = require('next-pwa') module.exports = withPWA({ pwa: { + disable: process.env.NODE_ENV !== 'production', dest: 'public', register: true, skipWaiting: true,