Skip to content

Commit

Permalink
try escaping dot in js filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Erudition committed Sep 18, 2023
1 parent dfd4a47 commit 23a030d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23a030d

Please sign in to comment.