Skip to content

Commit 7e54d93

Browse files
danbaechtoldpksunkara
authored andcommitted
feat: adaptive icon support with maskable icons (#5053)
1 parent 4e154ac commit 7e54d93

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

packages/@vue/cli-plugin-pwa/lib/HtmlPwaPlugin.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ const defaultManifest = {
2323
'src': './img/icons/android-chrome-512x512.png',
2424
'sizes': '512x512',
2525
'type': 'image/png'
26+
},
27+
{
28+
'src': './img/icons/android-chrome-maskable-192x192.png',
29+
'sizes': '192x192',
30+
'type': 'image/png',
31+
'purpose': 'maskable'
32+
},
33+
{
34+
'src': './img/icons/android-chrome-maskable-512x512.png',
35+
'sizes': '512x512',
36+
'type': 'image/png',
37+
'purpose': 'maskable'
2638
}
2739
],
2840
start_url: '.',

0 commit comments

Comments
 (0)