From 8a5e8ea4f5b7cba0a6c909d8949f0c20426104a6 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Thu, 2 Jan 2025 18:13:44 +0530 Subject: [PATCH] fix: specify mode for iconify --- src/node/build/build.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node/build/build.ts b/src/node/build/build.ts index 8f3df57a8c37..17e98d0ebe94 100644 --- a/src/node/build/build.ts +++ b/src/node/build/build.ts @@ -138,7 +138,8 @@ export async function build( iconSelector: '.vpi-social-{name}', commonSelector: '.vpi-social', varName: 'icon', - format: process.env.DEBUG ? 'expanded' : 'compressed' + format: process.env.DEBUG ? 'expanded' : 'compressed', + mode: 'mask' }).replace(/.*?}/, '') fs.writeFileSync(path.join(siteConfig.outDir, 'vp-icons.css'), iconsCss)