deno_core crate works but the case seemed so mind boggling to me I created a small repo for reproduction.script.ts that I load and evaluate at runtime.script.ts uses functions from a helper library script-api.ts.load_main_es_module_from_code method (and evaluate with .mod_evaluate and run the event loop etc etc) the helper library gets transpiled correctly, however not the main module in question..