From fc1310af13715e792dfa13916d2198d633ba094e Mon Sep 17 00:00:00 2001 From: DIYgod Date: Thu, 15 Jun 2023 22:13:35 +0100 Subject: [PATCH] chore: disable sw precache --- next.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/next.config.js b/next.config.js index 3b69e624..db2f9507 100644 --- a/next.config.js +++ b/next.config.js @@ -9,11 +9,7 @@ const withPWA = require("@ducanh2912/next-pwa").default({ disable: process.env.NODE_ENV === "development", dest: "public", publicExcludes: ["*"], - buildExcludes: [ - /\.map$/, - /^manifest.*\.js$/, - /^\/_next\/static\/chunks\/app\/dashboard/, - ], + buildExcludes: [/./], extendDefaultRuntimeCaching: true, workboxOptions: { runtimeCaching: [