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)