Reduce Iconify Package Size in NuxtUI – Import Only Needed Icons
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 96
- Avg merge
- 8h 12m
- Merged PRs (30d)
- 2
Description
Hello,
I'm using NuxtUI with Iconify and four collections: Material Symbols, Heroicons, let's icon and Simple Icons.
However, after installing these collections and building my project, the generated packages are several megabytes in size. These packages take up about 80% of my project size, which heavily impacts performance.
total size of my project :
I’d like to:
Import only the specific icons I use from these collections instead of including everything.
Know if there’s a built-in way to achieve this in Iconify/nuxt-icon or any recommended approach.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reproducing a Nuxt project build with the four reported icon collections and inspect which generated bundles contain them. Done means unused icons are excluded from the package output, with the supported configuration or limitation documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxtjs, typescript
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100