Skip to content

Commit 8a5e8ea

Browse files
committedJan 2, 2025·
fix: specify mode for iconify
1 parent 38a755e commit 8a5e8ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/node/build/build.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ export async function build(
138138
iconSelector: '.vpi-social-{name}',
139139
commonSelector: '.vpi-social',
140140
varName: 'icon',
141-
format: process.env.DEBUG ? 'expanded' : 'compressed'
141+
format: process.env.DEBUG ? 'expanded' : 'compressed',
142+
mode: 'mask'
142143
}).replace(/.*?}/, '')
143144

144145
fs.writeFileSync(path.join(siteConfig.outDir, 'vp-icons.css'), iconsCss)

0 commit comments

Comments
 (0)
Please sign in to comment.