unplugin / unplugin-icons

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

How to use with Remix #220

Open rcoopr opened 2 years ago

rcoopr commented 2 years ago

Any idea how to incorporate this into Remix? I don't think it exposes the underlying bundler in the same way Next.js does.

https://remix.run/docs/en/v1/api/conventions#remixconfigjs

Adding unplugin-icons to serverDependenciesToBundle leaves the build hanging and provides no opportunity for config.

Any ideas?

684efs3 commented 8 months ago

Would love to know how to use this too especially with Remix moving over to Vite!

mthsoliveira7 commented 8 months ago

would love to see it as well