Replies: 4 comments 2 replies
-
Hi @trex0r, I've never used the node adapter, so I'm afraid I can't help you much. This code is supposed to be used as a reference, not actual code, since everyone's need and style is different. Looking at the error, this seems to be a rollup setting issue, and (hopefully) not a code issue, so I'll move this to Discussion. I hope you can figure it out! |
Beta Was this translation helpful? Give feedback.
-
Thanks for replying. I managed to narrow down the issue after a lot of trial and error! It seems that it is caused by the Resvg library. When commenting out |
Beta Was this translation helpful? Give feedback.
-
Thank for pointing this out! After I made this template, I learned that I don't even need that package to use SVG files in Sveltekit. I can simply rename the svg file to svelte, and start using them! (I also had to remove the <?xml> tag). I updated the code (and made a couple of other minor improvements) and removed the |
Beta Was this translation helpful? Give feedback.
-
For anyone having this issue with the library while using the
|
Beta Was this translation helpful? Give feedback.
-
When trying to build the project for production, using the node adapter, I get an error.
Steps to reproduce:
This results in the following error part way through the build process:
If you are able to assist with this, I would really appreciate it. This project is great and has helped me a lot. Thanks for all the work you have put into it!
Beta Was this translation helpful? Give feedback.
All reactions