Joaquín Sánchez

Results 1398 comments of Joaquín Sánchez

OK, I get it working, you also need to include `macros` plugin in `injectManifest.plugins` PWA option using both, `es` or `iife` formats: ```ts injectManifest: { rollupFormat: 'iife', // or rollupFormat:...

![imagen](https://github.com/vite-pwa/vite-plugin-pwa/assets/6311119/059f9456-ef54-4dc0-a32a-7514b4e46f82)

The new version must be precached (downloaded and added to the cache storage), workbox precaching module will download your new assets sequentially (1 by 1). You can patch your local...

can you add it to an example (don't use sveltekit, it is deprecated in this repo)?

I'm going to do some tests (no idea when I'll have some free time) and maybe adding a new experimental option to use a new built-in `workbox-window` exposing the `updatefound`...

Why are you unregistering the sw? you should enable it on last run (once tested, after first 2 runs): - run 1: react + generateSW + Prompt for update +...

`offlineReady` is a boolean ref activated only once, that's, first time the sw installed: you can use it to show the popup to your users. If you reload the page...

Review your html pages cache headers, should have `public, max-age: 0, must-revalidate` + Date + Age, on hard reload still can fails, any asset inside assets folder should have `public,...

The vue-router example contains 2 examples, if you check the package.json file there are a few scripts to switch between prompt and auto update strategies.

running `claims-sw` script will use `autoUpdate` register type, running default script will use `prompt`, you should remove the storage and the sw between tests. check the env variables on each...