change: improve pwa loading on new version
This commit is contained in:
parent
ad6437b196
commit
075c6cc7e4
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ export default defineConfig({
|
|||
injectRegister: "auto",
|
||||
manifest: false,
|
||||
workbox: {
|
||||
cleanupOutdatedCaches: true,
|
||||
skipWaiting: true,
|
||||
navigateFallbackDenylist: [/^\/api*/],
|
||||
runtimeCaching: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue