mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 17:27:32 +08:00
chore: upgrade vite-plugin-pwa
also change injectRegister parameter
This commit is contained in:
parent
2d6d84a4d7
commit
79874fe4e9
3 changed files with 951 additions and 951 deletions
1899
frontend/package-lock.json
generated
1899
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ const BUILD_CONFIG = {
|
|||
},
|
||||
splitVendorChunkPlugin(),
|
||||
VitePWA({
|
||||
injectRegister: "networkfirst",
|
||||
registerType: "autoUpdate",
|
||||
manifest: {
|
||||
short_name: "Monkeytype",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue