From 8886e1b55f3495b3b798825274a910e5f231a74b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 18 May 2018 20:39:20 -0400 Subject: Initial support for remote imports --- testdata/006_url_imports.ts | 3 +++ testdata/006_url_imports.ts.out | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 testdata/006_url_imports.ts create mode 100644 testdata/006_url_imports.ts.out (limited to 'testdata') diff --git a/testdata/006_url_imports.ts b/testdata/006_url_imports.ts new file mode 100644 index 000000000..57af683cf --- /dev/null +++ b/testdata/006_url_imports.ts @@ -0,0 +1,3 @@ +import { printHello } from "http://localhost:4545/testdata/subdir/print_hello.ts"; +printHello(); +console.log("success"); diff --git a/testdata/006_url_imports.ts.out b/testdata/006_url_imports.ts.out new file mode 100644 index 000000000..989ce33e9 --- /dev/null +++ b/testdata/006_url_imports.ts.out @@ -0,0 +1,2 @@ +Hello +success -- cgit v1.2.3