mirror of
https://github.com/bendtherules/multimeter-connect-web.git
synced 2026-08-18 13:52:26 +00:00
Migrate to @ducanh2912/next-pwa
This commit is contained in:
+1
-4
@@ -1,11 +1,8 @@
|
||||
const runtimeCaching = require("next-pwa/cache");
|
||||
|
||||
const withPWA = require("next-pwa")({
|
||||
const withPWA = require("@ducanh2912/next-pwa").default({
|
||||
dest: "public",
|
||||
skipWaiting: true,
|
||||
register: true,
|
||||
sw: "/sw.js",
|
||||
runtimeCaching,
|
||||
dynamicStartUrl: false,
|
||||
});
|
||||
|
||||
|
||||
Generated
+557
-918
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -9,6 +9,7 @@
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ducanh2912/next-pwa": "^9.2.1",
|
||||
"@types/node": "20.4.2",
|
||||
"@types/react": "18.2.15",
|
||||
"@types/react-dom": "18.2.7",
|
||||
@@ -17,7 +18,6 @@
|
||||
"eslint": "8.44.0",
|
||||
"eslint-config-next": "13.4.9",
|
||||
"next": "13.4.9",
|
||||
"next-pwa": "^5.6.0",
|
||||
"postcss": "8.4.26",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
|
||||
Reference in New Issue
Block a user