Skip to content

Commit 94b3c1a

Browse files
committed
Use manifest 'name' for 'short_name' if provided
1 parent 79322c1 commit 94b3c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function manifest (nuxt, pwa: PWAContext) {
88
// Combine sources
99
const defaults: ManifestOptions = {
1010
name: process.env.npm_package_name,
11-
short_name: process.env.npm_package_name,
11+
short_name: pwa.manifest.name || process.env.npm_package_name,
1212
description: process.env.npm_package_description,
1313
publicPath,
1414
icons: [],

0 commit comments

Comments
 (0)