Make lighthouse PWA compliant (#52)

* fix lighthouse: does not provide a valid apple-touch-icon

* fix lighthouse: manifest doesn't have a maskable icon
This commit is contained in:
userquin authored and GitHub committed 2021-02-10 19:34:46 +08:00
1 parent 462777c0fc
commit 92deaa64ba
2 files changed
+7

No files matched your search

+6
View File
@@ -72,6 +72,12 @@ export default defineConfig({
sizes: '512x512',
type: 'image/png',
},
{
src: '/pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
},
],
},
}),