Skip to content
Permalink
Browse files
feat(icon): default purpose to any + maskable
  • Loading branch information
pi0 committed Aug 13, 2020
1 parent d115b08 commit 30f0f63bcd1601cc6aa5595a851de965dde9af88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -48,13 +48,13 @@ Will return an empty string when no icon in the given size is available (eg. whe
Name of property for accessible icons.

**purpose**
- Default: null
- Default: `['any', 'maskable']`

Array or string of icon purpose.

Example:

```js
purpose: [ 'badge', 'maskable' ]
// or
purpose: 'maskable'
```

@@ -37,7 +37,7 @@ async function run (pwa, _emitAssets) {
iconProperty: '$icon',
publicPath,
iconSrc: null,
purpose: null,
purpose: ['any', 'maskable'],

_iconHash: null,
_cacheDir: null,

0 comments on commit 30f0f63

Please sign in to comment.