rocketllR
Deno3y ago
1 reply
rocketll

Using `deno_emit` from Rust: building import graph

I'm trying to use
deno_emit
from Rust to bundle modules. I already evaluated these modules with
deno_runtime
, is there any way to extract and use the module graph and transpiled code that was already built during evaluation? Or perhaps reuse
deno_core::ModuleLoader
for
deno_graph::source::Loader
? I'm having a hard time figuring out how to use
deno_emit
and
deno_graph
from Rust, so I'm hoping there's an easier way to bundle code since I already evaluated the modules.
Was this page helpful?