DenoDDeno
Powered by
FridiousF
Denoβ€’3y agoβ€’
2 replies
Fridious

Module loading

Hey,
I am just testing the deno_core. I know, that the deno runtime with the command line supports native executing of ts files and also loading of dependencies by an url and also npm depependcies out of the box. As I evaluated it, the deno_core does not support this by default, so how to easily implement executing ts files and loading of depencies by url? I already found, that I can set a custom
module_loader
module_loader
and a
custom_module_evaluation_cb
custom_module_evaluation_cb
for the
JsRuntime
JsRuntime
, but I think there is an easier way to do this instead of integrating it by myself.
Thanks for you help
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

Loading a module with `.load_main_es_module_from_code()` and TS module loader doesn't transpile
laurynasLlaurynas / help
2y ago
Can't get Deno to support loading a .ts module
SacriGrapeSSacriGrape / help
2y ago
Deno loading NPM module oracledb .node files with incorrect architecture
TibbsTTibbs / help
2y ago