From 23a030d8dbb1221db1ecfbb6d5d35607e9a2cfce Mon Sep 17 00:00:00 2001 From: Erudition Date: Mon, 18 Sep 2023 03:13:09 -0500 Subject: [PATCH] try escaping dot in js filename --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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