unplugin / unplugin-icons

🤹 Access thousands of icons as components on-demand universally.
https://www.npmjs.com/package/unplugin-icons
MIT License
3.65k stars 131 forks source link

feat: custom external collection packages #342

Closed userquin closed 5 months ago

userquin commented 5 months ago

Description

@iconify/utils from v2.1.20 exposes a new CustomIconLoader to allow load icons from custom external collection packages, this PR just adds the helper and the corresponding entry in the readme file.

@antfu should we cleanup types and update TS to 5.3.3?

Linked Issues

Additional context

https://github.com/iconify/iconify/pull/276

stackblitz[bot] commented 5 months ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

socket-security[bot] commented 5 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@iconify/utils@2.1.20 Transitive: environment, filesystem, shell +29 1.47 MB cyberalien

🚮 Removed packages: npm/@iconify/utils@2.1.12

View full report↗︎