As per title...the problem is that import.meta.glob with eager get's converted to a series of static import...this means that as soon as you imported something from @animotion/core the module resolution would've:
imported index
imported /components/index
imported /components/slides
in there imported the slide component with import.meta.glob before the defineProps import...so it was undefined
I moved the export to the root index before the export * so that now it's immediately defined (p.s. i've also changed the defineProps to only import the type of Slide).
As per title...the problem is that
import.meta.glob
with eager get's converted to a series of staticimport
...this means that as soon as you imported something from@animotion/core
the module resolution would've:import.meta.glob
before thedefineProps
import...so it was undefinedI moved the export to the root index before the export * so that now it's immediately defined (p.s. i've also changed the
defineProps
to only import the type of Slide).