-
I'm currently exploring ESM modules and am curious about whether Deno supports the file extension substitution mentioned in TypeScript docs.
deno run bar.ts
# error: Module not found "file:///tmp/tmp.lVAcziIwpe/foo.js".
# at file:///tmp/tmp.lVAcziIwpe/bar.ts:1:21 |
Beta Was this translation helpful? Give feedback.
Answered by
dsherret
Dec 14, 2023
Replies: 2 comments
-
No, this is currently not supported. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is now supported via |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xseman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is now supported via
--unstable-sloppy-imports
in Deno 1.39: https://deno.com/blog/v1.39#sloppy-imports