禁用Workbox

This commit is contained in:
eoao
2025-09-04 00:29:34 +08:00
parent b4954e948b
commit 2390143dc6

View File

@@ -33,7 +33,12 @@ export default defineConfig(({mode}) => {
], ],
}, },
workbox: { workbox: {
navigateFallbackDenylist: [/^\/api\/init/] navigateFallbackDenylist: [/^\/api\/init/],
disableDevLogs: true,
globPatterns: [],
runtimeCaching: [],
navigateFallback: null,
cleanupOutdatedCaches: true,
} }
}), }),
AutoImport({ AutoImport({