Fixes #4. See dylanblokhuis/svelte-feather-icons#10 for drawbacks, i.e. build time super slow if imported this way. With this, one can do
import { BsBox, Bs123, BsActivity, Icon } from "svelte-icons-pack";
Another option is to put an index.ts in each subfolder and it should only build that icon pack.
I opted to not use it given the slowness in build but it doesn't break existing behavior so thought I'd submit.
Please feel free to modify and submit another PR if you think its still worth it or if there is a way to avoid the build delay.
Fixes #4. See dylanblokhuis/svelte-feather-icons#10 for drawbacks, i.e. build time super slow if imported this way. With this, one can do
import { BsBox, Bs123, BsActivity, Icon } from "svelte-icons-pack";
Another option is to put an index.ts in each subfolder and it should only build that icon pack. I opted to not use it given the slowness in build but it doesn't break existing behavior so thought I'd submit. Please feel free to modify and submit another PR if you think its still worth it or if there is a way to avoid the build delay.