chore: fix pwa build

This commit is contained in:
鲁树人 2023-10-11 23:08:27 +01:00
parent 022c9d1eac
commit 4905511d71
2 changed files with 5 additions and 1 deletions

View File

@ -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",

View File

@ -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: