diff --git a/vite.config.ts b/vite.config.ts index 83d1af3d..e69057b2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,7 +16,7 @@ export default defineConfig({ workbox: { //additionalManifestEntries: ["fallback.html"], // TODO test if this works navigateFallback: "error.html", - navigateFallbackDenylist: [/sw2.js/], + navigateFallbackDenylist: [/sw2\.js/], globPatterns: ['**/*.{html,css,ico,png,svg}'] // TODO removed js so capacitor plugins can work }, outDir: "../dist", // weird it's not default, it looks for webapp files to cache here