chore: upgrade vite-plugin-pwa

also change injectRegister parameter
This commit is contained in:
Miodec 2024-06-12 16:38:20 +02:00
parent 2d6d84a4d7
commit 79874fe4e9
3 changed files with 951 additions and 951 deletions

File diff suppressed because it is too large Load diff

View file

@ -57,7 +57,7 @@
"vite-plugin-filter-replace": "0.1.13",
"vite-plugin-html-inject": "1.1.2",
"vite-plugin-inspect": "0.8.3",
"vite-plugin-pwa": "0.19.0",
"vite-plugin-pwa": "0.20.0",
"vitest": "1.6.0"
},
"dependencies": {

View file

@ -167,6 +167,7 @@ const BUILD_CONFIG = {
},
splitVendorChunkPlugin(),
VitePWA({
injectRegister: "networkfirst",
registerType: "autoUpdate",
manifest: {
short_name: "Monkeytype",