Closed macabeus closed 11 months ago
Writing this to vite.config.js solved the same problem for me:
ssr: { noExternal: ['svelte-image-gallery'] }
The true fix for this issue is to add "module" and "svelte" to the package.json, both pointing to index.mjs. @BerkinAKKAYA could you make this change? Otherwise, if you give me permission, I can push the change locally and open a pull request.
Hi @ty-e-boyd, thank you for your contribution! Would be awesome if you can open the pull request @ty-e-boyd
Awesome thanks! Could you please give me permission to do so? Also, appreciate the package a lot. Been using it for about a year now
@ty-e-boyd The default GitHub permissions are enough to open a pull request. Just make a fork, push the changes to your fork, and then open a PR here
When trying to import this package on a SvelteKit project using Vite, it crashes