Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent generated pwa icons to be added to manifest (#20639)
Generated PWA icons are served at runtime by PwaHandler, that also takes care of adding a subset of them to the web manifest for caching. However, the Vite inject-manifest-to-sw plugin adds all generated icons to the manifest with /pwa-icons path prefix making them pre-cached by the browser and potentially breaking pre-defined security rules. This change prevents generated icons to be added to the manifest, preserving the previous behavior.
- Loading branch information