From dc7b7429e404fbf86e31c2a57fdfcbe1d00a9310 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Wed, 11 Oct 2023 23:08:27 +0100 Subject: [PATCH] chore: fix pwa build --- package.json | 3 ++- pnpm-lock.yaml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3897aa9..f2eb6d2 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,8 @@ "vite-plugin-pwa": "^0.16.5", "vite-plugin-top-level-await": "^1.3.1", "vite-plugin-wasm": "^3.2.2", - "vitest": "^0.34.6" + "vitest": "^0.34.6", + "workbox-window": "^7.0.0" }, "lint-staged": { "*": "prettier --write --ignore-unknown", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d190c7..ab202e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -163,6 +163,9 @@ devDependencies: vitest: specifier: ^0.34.6 version: 0.34.6(@vitest/ui@0.34.6)(jsdom@22.1.0)(sass@1.69.2) + workbox-window: + specifier: ^7.0.0 + version: 7.0.0 packages: