chore: disable sw precache

This commit is contained in:
DIYgod 2023-06-15 22:13:35 +01:00
parent a9b5155f16
commit fc1310af13
No known key found for this signature in database
1 changed files with 1 additions and 5 deletions

View File

@ -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: [