Ion-icon not working unless ion-item is imported

I’m using ionic-svelte and I made a svelte component where I used ion-icons and ion-buttons mostly. But all the ion-icons were not showing for this element. Even though ion-icons work in many other components that I made.

So after - I don’t know how many - hours of trying to fix it, I finally got it to work by importing ionic-svelte/components/ion-item. Even though I’m not even using the ion-item tag anywhere for this component.

I find it very peculiar that I need to import an element type that I don’t use, to get another element type to work.

Is this intended behaviour or is this a bug? Or is this problem perhaps not due to the ionic framework, but rather an ionic-svelte issue?