D
Deno

help

Is there a way to determine what modules have been dynamically imported at runtime?

MGMark G10/13/2022
The builtin tools to compile/bundle/vendor don't account for dynamic imports (understandably), but is there a way at runtime that we could see what has been imported dynamically. This information could then be used to aid other tools, for example to generate a module that statically imports all of those dynamic modules.

Looking for more? Join the community!