Joaquín Sánchez

Results 923 comments of Joaquín Sánchez

@aimergenge I Will review your repo later, it is weird and maybe you are right...

@stephenhebert using your repo with `pnpm` just works (`pnpm install && pnpm run build`): EDIT: I'll check with `npm` ![imagen](https://user-images.githubusercontent.com/6311119/165622237-0f833e0a-88c9-4c89-8154-bbf0dd49ffec.png)

@stephenhebert also working with `npm`, check your node and npm versions: ![imagen](https://user-images.githubusercontent.com/6311119/165623526-adf22fc4-300d-4e80-909d-1f75fa6f1954.png)

@stephenhebert uhmm, I've these versions (with `nvm`): ```shell node --version && npm --version v16.13.0 8.1.0 ```

if you have SSR for your entry point, add an 404.html page and use it as the `navigationFallback` in the dev options. If the entry point shouldn't be added to...

Try adding previous config using `index.html` instead `404.html`, this will instruct the sw to only cache the entry point. If still not working, provide a repro, any example in this...

https://github.com/antfu/vite-plugin-pwa/issues/120#issuecomment-1202579983

Remove the dev options. This option was included to test your custom sw and the webmanifest. Since we cannot use hmr on sw in any browser, each time the sw...

@ZhaoHongzcyh try with latest version 0.12.4, review the navigation fallback option in devOptions, read the dev entry in the docs, has been updated.

It is always being called since we are registering it on page load, try removing the await and the window reload below it. Also increase the time, check all warnings...