icons-pack / svelte-simple-icons

📦 This package provides the Simple Icons packaged as a set of Svelte components.
MIT License
53 stars 2 forks source link

Error: 'Svelte' is not exported by https://unpkg.com/@icons-pack/svelte-simple-icons@2.3.0/build/index.js, imported by ./App.svelte #51

Open shinokada opened 2 years ago

shinokada commented 2 years ago

Here is the demo.

It doesn't work locally either. Have you added index.js to export all icons?

And this is what I got localhost:

<Svelte> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
wootsbot commented 2 years ago

@shinokada Thank you very much, this week I will update all the topics to be able to support.

wootsbot commented 1 year ago

I am performing a refactor that solves the issue.

live: https://github.com/icons-pack/svelte-simple-icons/releases/tag/v4.0.0-rc.2