Closed linkthai closed 8 months ago
Hi @linkthai, thanks for reporting this, I'm almost sure this is due to the exports
key in package.json, I've compared it with the export of the solid-js
modules and it seems to have adopted the modern way depending on the runtime, this package (solid-icons
) should also migrate that way.
This change would be included in 1.1.0
which is still in progress I hope it helps with this problem.
Hi @linkthai, version 1.1.0 has been released, could you check if this version corrects your problem? I was able to check and now it works to build in astro, greetings and thank you very much!
Hello @x64Bits, I missed your question last time sorry for the late answer. I tried exporting with rollup and it worked absolutely fine now, thank you for the help.
I'm trying to build a core library, which will get imported and used by multiple projects. I has an icon modules where it imports certain icons from solid-icons. The problem happens when I use rollup to bundle the library, all icons from solid-icons cause this error.
Here are the rollup.config.ts