chore: bump to pwa plugin 0.16.4 (#2159)
Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
25a5d3fe7b
commit
e453a316f7
4 changed files with 67 additions and 6 deletions
|
@ -117,9 +117,23 @@ export async function createI18n(): Promise<LocalizedWebManifest> {
|
|||
],
|
||||
},
|
||||
},
|
||||
handle_links: 'preferred',
|
||||
launch_handler: {
|
||||
client_mode: ['navigate-existing', 'auto'],
|
||||
},
|
||||
edge_side_panel: {
|
||||
preferred_width: 480,
|
||||
},
|
||||
}
|
||||
|
||||
// TODO: add related_applications, only when env === 'release'
|
||||
if (env === 'release') {
|
||||
manifestEntries.prefer_related_applications = true
|
||||
manifestEntries.related_applications = [{
|
||||
platform: 'windows',
|
||||
url: 'https://www.microsoft.com/store/apps/9PNZMMXQHQZ5',
|
||||
id: '53213ElkTeam.Elk_6x2f3wfg7gnst',
|
||||
}]
|
||||
}
|
||||
|
||||
const locales: RequiredWebManifestEntry[] = await Promise.all(
|
||||
pwaLocales
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue