Closed Tanish2002 closed 8 months ago
Having the same issue.
Hi thanks for report this, I'm sure that this problem is related to exports
in package.json generated by the library, I'm imitating the way solidjs did it in its 1.4 version, but I have seen that they added the worker
key which I imagine should be used to target the correct import using cloudflare.
@x64Bits I've tried to offload it in Astro using client:only="solid-js"
directives and even just re exporting a the Svg as its separate Solid component, to no avail. Do you have a solution on the way for this?
Hello, sorry for the delay, I have sent a beta version of the package with a possible correction for this problem, if you can take a look at it for feedback, there is also an open PR in case you have comments #54, greetings and thank you very much. https://www.npmjs.com/package/solid-icons/v/1.1.0-beta.1
The solid-icons@1.1.0-beta.1 still has the same issues @x64Bits
Hi @silesmo, thanks for let me know about it, Version 1.1.0 address this issue, can you take a look it is working properly now?
I'll assume this issue was resolved in 1.1.0, regards.
I'm trying deploy my project on cloudflare via the astro provided ssr adapter.
Whenever I try to build the project I get this error:
Out of curiosity I tried it with other adapters like vercel and the problem still persists.
It builds fine without any ssr adapters.
Here is a minimal reproduction of problem: https://codesandbox.io/p/sandbox/bold-wilbur-kch7zp You can check it by doing a
yarn build