Skip to content

Commit 91d1727

Browse files
committed
Do not crawl in build
1 parent f0f7a74 commit 91d1727

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ async function getCommandContext(args: string[]): Promise<CommandContext> {
281281
return false;
282282
}
283283

284+
if (relativeDirPath === "build") {
285+
return false;
286+
}
287+
284288
if (pathBasename(relativeDirPath) === "node_modules") {
285289
return false;
286290
}

0 commit comments

Comments
 (0)