You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just ran into an issue where the manifest was still present in the header <link rel="manifest" href="./manifest.webmanifest">
Which resultet in the manifest being embedded and loaded via a data url where e.g. a relative start_url stopped working because it is resolved relative to the manifest file.
It would be great if VitePWA could emit a warning at the end if this is the case and the manifest is embedded but e.g. the start_url or icon urls are relative
Using PWA v0.18.2
The text was updated successfully, but these errors were encountered:
marwie
changed the title
warn if header contains link to manifest
warn if header contains <link> to manifest
Feb 16, 2024
Sorry I dont have a live link anymore altough I can create a repro again if necessary. I just wanted to point out that it took me a while to realize that because of the index html header containing a <link rel="manifest" the Vite PWA manifest would be somehow embedded/encoded and therefore not work with relative icon and base_urls anymore.
Hello
just ran into an issue where the manifest was still present in the header
<link rel="manifest" href="./manifest.webmanifest">
Which resultet in the manifest being embedded and loaded via a data url where e.g. a relative
start_url
stopped working because it is resolved relative to the manifest file.It would be great if VitePWA could emit a warning at the end if this is the case and the manifest is embedded but e.g. the
start_url
or icon urls are relativeUsing PWA v0.18.2
The text was updated successfully, but these errors were encountered: