DenoDDeno
Powered by
Mark GM
Denoβ€’4y ago
Mark G

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

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.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Is it possible to know what version of a dynamically-imported module was just imported?
tmcwTtmcw / help
3y ago
Dynamically imported module evaluation is still pending
moubliniMmoublini / help
4y ago
What is the right way to bundle native modules?
Bustin BaseBBustin Base / help
3y ago