antfu / purge-icons

🎐 Bundles icons on demand
https://www.npmjs.com/package/purge-icons
MIT License
229 stars 18 forks source link

icon in the monorepo project cannot be scanned #43

Open 1514100951 opened 9 months ago

1514100951 commented 9 months ago

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

1514100951 commented 9 months ago

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