Replies: 1 comment
-
ok, that seems to be this issue... #1233 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using @tabler/icons-react.
I would like to import an icon directly instead of using an index import. Something like this:
Is that somehow possible?
The reason for this is that the loading times in my development environment (vite) are too slow. I have read up on it and it is probably due to the fact that tree shaking is not possible in dev mode and therefore all icons have to be loaded when index importing. https://stackoverflow.com/a/76280863/1469497
Beta Was this translation helpful? Give feedback.
All reactions