feat: add autoUpdate register type for PWA

This commit is contained in:
xiongxiao
2026-03-19 05:08:25 +08:00
committed by cnb
parent 1c86787219
commit bfcb5b6004

View File

@@ -32,6 +32,7 @@ export default defineConfig({
tailwindcss(),
VitePWA({
injectRegister: 'auto',
registerType: 'autoUpdate',
}),
],
resolve: {