RogueManR
Denoβ€’15mo agoβ€’
19 replies
RogueMan

Dynamic import at compile time

I am trying to import files dynamically based on a glob pattern. These files are not imported correctly when I compile the application. It only works with a static string. Is there any way to make it work with the glob pattern? or is there a workaround?
Or do I just have to import the files using static strings
Was this page helpful?