Can't get Deno to support loading a .ts module
I'm attempting to setup deno_node in my project and while attempting to add deno_node and its dependencies, I get this error:
From the digging around I could do, its because I need to somehow transpile this code as Deno loads it with a ModuleLoader but I'm not sure how to do that. If there are any examples or guides for this that would be greatly appreciated
1 Reply
There you go: https://github.com/denoland/deno_core/blob/dfc37c6f98fd42e6560a0fcac6d8834cd142334a/core/benches/snapshot/snapshot.rs#L52
GitHub
deno_core/core/benches/snapshot/snapshot.rs at dfc37c6f98fd42e6560a...
The core engine at the heart of Deno. Contribute to denoland/deno_core development by creating an account on GitHub.