tabler / tabler-icons

A set of over 5700 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
18.31k stars 918 forks source link

File conflict for `device-game-pad.svg` and `device-gamepad.svg` #799

Closed knulpi closed 1 year ago

knulpi commented 1 year ago

Since release 2.32.0, svelte won't build with icons-svelte anymore. The problem boils down to the newly introduced device-game-pad.svg icon. It causes a file conflict, so that only IconDeviceGamePad.svelte is in the release, but not IconDeviceGamepad.svelte. The latter, however, is still referenced in the built tabler-icons-svelte.js file, causing the svelte build to fail when using 2.32.0.

Suggestion: As there already are two gamepad icons, change the latest added one to be device-gamepad-3.svg. I will open a PR for that.

wh1337 commented 1 year ago

Could this be the cause of this following error? I'm I have tried v2.31 and v2.32 and when building it in docker it fails. Just wanted to double check before making another issue.

image

knulpi commented 1 year ago

Could this be the cause of this following error? I'm I have tried v2.31 and v2.32 and when building it in docker it fails. Just wanted to double check before making another issue.

image

yes, that's exactly the one.

miguelgargallo commented 1 year ago

I solved using

"@tabler/icons-svelte": "2.30.0",