diff --git a/vite.config.ts b/vite.config.ts index 6375124..9d5f519 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,7 +11,16 @@ export default defineConfig(({ mode }) => { console.log(`\nBackend Development Proxy URL: ${proxyURL}/api\n`); return { - plugins: [react(), visualizer()], + plugins: [ + react(), + visualizer(), + VitePWA({ + registerType: "autoUpdate", + workbox: { + navigateFallbackDenylist: [/^\/file-service\/download\//], + }, + }), + ], build: { outDir: "dist-frontend", },