Closed Bandit closed 3 years ago
Hey there, sorry for the very late response, have been dealing with some health issues recently.
What version of the library are you on? I remember moving some stuff around, might have accidentally broke something with imports.
2.0.1
Weird issue. I'm not familiar with how exactly async importing in Svelte works, but this minimal example works without the default
s. Can you maybe check what the return type of the import statement is?
Thanks for looking into this - just a heads up that I'm really busy on some other things. Will come back to this and re-open it with more detail / example repo 👍
Guess I'm doing something wrong here, but why do I need to do this
module.default.default
thing to get a dynamic import to work? (This is Sveltekit code)