diff --git a/vite.config.js b/vite.config.js index b260657..262f0f4 100644 --- a/vite.config.js +++ b/vite.config.js @@ -41,7 +41,7 @@ const vitePWAconfiguration = { ], manifest: "manifest.webmanifest", registerType: "autoUpdate", - injectRegister: "auto", + injectRegister: "script-defer", }; export default defineConfig(({ command, mode, ssrBuild }) => {