antfu / purge-icons

🎐 Bundles icons on demand

Home Page:https://www.npmjs.com/package/purge-icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icon in the monorepo project cannot be scanned

1514100951 opened this issue · comments

Describe the bug

In the vite project in monorepo, ICONS used in subpackages cannot be scanned, causing the project startup to fail to display ICONS used in components

Reproduction

Reproduction

System Info

win11  edge

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

image
image
If I use fast-glob to match other directories, then this will scan node_modules as well