From 92deaa64ba7dbc8b5ebe29649b82bbe7c176c84a Mon Sep 17 00:00:00 2001 From: userquin Date: Wed, 10 Feb 2021 12:34:46 +0100 Subject: [PATCH] Make lighthouse PWA compliant (#52) * fix lighthouse: does not provide a valid apple-touch-icon * fix lighthouse: manifest doesn't have a maskable icon --- index.html | 1 + vite.config.ts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/index.html b/index.html index 9360132..ac0e00d 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ + diff --git a/vite.config.ts b/vite.config.ts index db73a47..18ae356 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -72,6 +72,12 @@ export default defineConfig({ sizes: '512x512', type: 'image/png', }, + { + src: '/pwa-512x512.png', + sizes: '512x512', + type: 'image/png', + purpose: 'any maskable', + }, ], }, }),