1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-04 17:18:23 -05:00
denoland-deno/tests/specs/compile/jsr_with_deps/main.ts
David Sherret 651e3e9e6d
fix(compile): certain jsr specifiers sometimes can't load (#23567)
When returning a jsr specifier for resolve it seems like deno core does
not work properly and hangs.

Closes https://github.com/denoland/deno/issues/23551
Closes https://github.com/denoland/deno/issues/23139
2024-04-27 21:11:57 +00:00

8 lines
300 B
TypeScript

// 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"));