From b468b71e09c45e247b18962d68e747c317bfd4ea Mon Sep 17 00:00:00 2001 From: keyan Date: Thu, 27 Jul 2023 12:45:18 -0500 Subject: [PATCH] disable service worker in dev --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index a28f6b62..901a667e 100644 --- a/next.config.js +++ b/next.config.js @@ -137,7 +137,7 @@ module.exports = withPlausibleProxy()({ ] }, webpack: (config, { isServer }) => { - if (isServer) { + if (isServer && isProd) { generatePrecacheManifest() config.plugins.push( new InjectManifest({