Skip to content

Commit 71e0baf

Browse files
committed
Look for icons also in .svelte and .vue files
1 parent 6ad93c6 commit 71e0baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/only-include-used-icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ async function getCommandContext(args: string[]): Promise<CommandContext> {
387387
.flat()
388388
.filter(
389389
filePath =>
390-
["tsx", "jsx", "js", "ts", "mdx", "html", "htm"].find(ext =>
390+
["tsx", "jsx", "js", "ts", "mdx", "html", "htm", "svelte", "vue"].find(ext =>
391391
filePath.endsWith(`.${ext}`)
392392
) !== undefined
393393
);

0 commit comments

Comments
 (0)