From 2d83c91ea167229552bb610827da9d8446fcccdc Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Tue, 3 Feb 2026 14:49:28 +0800 Subject: [PATCH] fix(web): split maskable icon into separate entries for type safety Next.js MetadataRoute.Manifest types only accept single-value purpose fields, not space-separated combinations like "any maskable". Co-Authored-By: Claude Opus 4.5 --- apps/web/app/manifest.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/web/app/manifest.ts b/apps/web/app/manifest.ts index 93ef6b41..48707b84 100644 --- a/apps/web/app/manifest.ts +++ b/apps/web/app/manifest.ts @@ -22,7 +22,13 @@ export default function manifest(): MetadataRoute.Manifest { src: "/icon-512x512.png", sizes: "512x512", type: "image/png", - purpose: "any maskable", + purpose: "any", + }, + { + src: "/icon-512x512.png", + sizes: "512x512", + type: "image/png", + purpose: "maskable", }, ], };