feat: Pack Next-PWA by @DuCanhGH

Co-Authored-By: Ngô Đức Anh <75556609+ducanhgh@users.noreply.github.com>
This commit is contained in:
Philip 2023-10-31 20:16:40 +01:00
parent 323a52cde3
commit 7328408e0f
3 changed files with 370 additions and 590 deletions

View file

@ -1,5 +1,5 @@
const million = require("million/compiler");
const withPWA = require("next-pwa")({
const withPWA = require("@ducanh2912/next-pwa").default({
dest: "public",
swSrc: "service-worker.js",
});

955
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,9 +11,9 @@
"test": "playwright test"
},
"dependencies": {
"@ducanh2912/next-pwa": "^9.7.2",
"@ericblade/quagga2": "^1.8.2",
"@frontendnetwork/vegancheck": "^1.1.42",
"@socialgouv/matomo-next": "^1.8.0",
"@types/node": "20.8.9",
"@types/react-dom": "18.2.14",
"eslint-config-sznm": "^2.0.2",
@ -21,7 +21,6 @@
"million": "^2.6.4",
"next": "13.4.16",
"next-intl": "^2.21.0",
"next-pwa": "^5.6.0",
"nookies": "^2.5.2",
"react": "18.2.0",
"react-dom": "18.2.0",