thecodejack / svelte-file-dropzone

Svelte component for fileupload
https://svelte-file-dropzone.netlify.app/
252 stars 45 forks source link

No Svelte 4 Support... #141

Closed rchrdnsh closed 1 year ago

rchrdnsh commented 1 year ago
Screenshot 2023-06-26 at 12 06 36 PM
bosticka commented 1 year ago

I have the same issue. As a workaround, I switched to pnpm. pnmp issues an unmet peer warning but still works and uses svelte 4. pnpm is better than npm anyway...

arackaf commented 1 year ago

Sorry - been on vacation - will look to fix soon

bosticka commented 1 year ago

Thank you. Appreciate it!

bluepuma77 commented 1 year ago

Maybe something like this helps in package.json:

"svelte": "^3.54.0 || ^4.0.0"

At the moment the svelte 3 requirement is preventing the build of my project.

thecodejack commented 1 year ago

@arackaf Let know if you have made some progress on this? Else I can try to take it up?

arackaf commented 1 year ago

SO SORRY for the delay. I just pushed a new version with what @bluepuma77 suggested. Can someone test it? I don't have a Svelte project handy that's running on v4

arackaf commented 1 year ago

@thecodejack thanks - finally got to it tho :)

arackaf commented 1 year ago

Just tested and seems to work