Skip to content

Conversation

@userquin
Copy link
Member

@userquin userquin commented Nov 2, 2025

Description

This PR adds HMR support for Vite (only) for local SVG files, added a new hmrResolver option to resolve local icon collection/name from the file.

Linked Issues

resolves #424

Additional context

/cc @antfu maybe we can also add support for webpack and some others bundlers but I'm lazy to check them (sorry 🙏)

@bolt-new-by-stackblitz
Copy link

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 2, 2025

Open in StackBlitz

npm i https://pkg.pr.new/unplugin-icons@425

commit: 3aec879

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom icons HMR failure

2 participants