Skip to content

Commit

Permalink
fix: specify mode for iconify
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Jan 2, 2025
1 parent 38a755e commit 8a5e8ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/node/build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8a5e8ea

Please sign in to comment.