1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/tests/006_url_imports.ts
Ryan Dahl e4990804fa Improve module resolution.
Windows can't handle ":" in path names, so we use a special directory
format .deno/deps/localhost_PORT4545/ to represent hosts with
non-default ports.

Fixes #645.
2018-09-05 22:27:23 -04:00

3 lines
111 B
TypeScript

import { printHello } from "http://localhost:4545/tests/subdir/mod2.ts";
printHello();
console.log("success");