summaryrefslogtreecommitdiff
path: root/tests/specs/compile/jsr_with_deps/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/compile/jsr_with_deps/main.ts')
-rw-r--r--tests/specs/compile/jsr_with_deps/main.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/compile/jsr_with_deps/main.ts b/tests/specs/compile/jsr_with_deps/main.ts
new file mode 100644
index 000000000..44a7dc08c
--- /dev/null
+++ b/tests/specs/compile/jsr_with_deps/main.ts
@@ -0,0 +1,8 @@
+// this was previously hanging in deno compile and wouldn't work
+import { join } from "jsr:@std/url@0.220/join";
+import "jsr:@std/url@0.220/normalize";
+
+console.log(join);
+
+// ensure import.meta.resolve works in compile for jsr specifiers
+console.log(import.meta.resolve("jsr:@std/url@0.220/join"));