Remove not neccecarly pwa sw configs and codes
This commit is contained in:
@@ -83,10 +83,6 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
pwa: {
|
||||
// strategies: "injectManifest",
|
||||
// srcDir: "public",
|
||||
// filename: "sw.js",
|
||||
// registerType: process.env.NODE_ENV === "production" ? "autoUpdate" : "prompt",
|
||||
manifest: {
|
||||
name: "Heymlz",
|
||||
short_name: "Heymlz",
|
||||
@@ -118,15 +114,6 @@ export default defineNuxtConfig({
|
||||
},
|
||||
],
|
||||
},
|
||||
workbox: {
|
||||
navigateFallback: "/",
|
||||
clientsClaim: true,
|
||||
skipWaiting: true,
|
||||
},
|
||||
devOptions: {
|
||||
enabled: process.env.NODE_ENV === "production",
|
||||
type: "module",
|
||||
},
|
||||
},
|
||||
|
||||
typescript: {
|
||||
|
||||
Reference in New Issue
Block a user