diff --git a/vite.config.ts b/vite.config.ts index e69057b2..0a1bbaec 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,7 +11,7 @@ export default defineConfig({ VitePWA({ registerType: 'autoUpdate', // After messing with service worker you may need to rm -rf android/app/src/main/assets/* before sync. https://github.com/ionic-team/capacitor/issues/5430#issuecomment-1042990925 //devOptions: {enabled: true}, - filename: 'sw2.js', // useful if cache is sticky + //filename: 'sw2.js', // useful if cache is sticky includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'masked-icon.svg'], workbox: { //additionalManifestEntries: ["fallback.html"], // TODO test if this works