From d87207eb4077769a856aa15ff41166f775eb016d Mon Sep 17 00:00:00 2001 From: Gabriel Lee Date: Sat, 13 Nov 2021 18:41:54 +0000 Subject: [PATCH] fix: use manifest 'name' for 'short_name' if provided --- src/manifest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manifest.ts b/src/manifest.ts index 20c0864f..f2ddc818 100755 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -8,7 +8,7 @@ export function manifest (nuxt, pwa: PWAContext) { // Combine sources const defaults: ManifestOptions = { name: process.env.npm_package_name, - short_name: process.env.npm_package_name, + short_name: pwa.manifest.name || process.env.npm_package_name, description: process.env.npm_package_description, publicPath, icons: [],