diff --git a/src/pwa-assets/config.ts b/src/pwa-assets/config.ts index 53238684..055dd081 100644 --- a/src/pwa-assets/config.ts +++ b/src/pwa-assets/config.ts @@ -75,7 +75,7 @@ export async function loadAssetsGeneratorContext( imageResolver: () => readFile(imageFile), imageName, preset, - faviconPreset: userHeadLinkOptions?.preset, + faviconPreset: userHeadLinkOptions?.preset ?? pwaAssets.htmlPreset, htmlLinks: { xhtml, includeId }, basePath: pwaAssets.integration?.baseUrl || ctx.viteConfig.base || '/', resolveSvgName: userHeadLinkOptions?.resolveSvgName ?? (name => basename(name)),