Update next-pwa settings

This commit is contained in:
2023-07-17 12:39:09 +05:30
parent afffb3f190
commit dea3f607aa
+4
View File
@@ -1,8 +1,12 @@
const runtimeCaching = require("next-pwa/cache");
const withPWA = require("next-pwa")({
dest: "public",
skipWaiting: true,
register: true,
sw: "/sw.js",
runtimeCaching,
dynamicStartUrl: false,
});
/** @type {import('next').NextConfig} */