From 3a33510bd4a169aba00393c2b7e88bf7fa0cad06 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Mon, 31 May 2021 01:20:34 +0100 Subject: fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618) Fixes #10168 Fixes #10615 Fixes #10616 --- cli/tests/092_import_map_unmapped_bare_specifier.ts.out | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 cli/tests/092_import_map_unmapped_bare_specifier.ts.out (limited to 'cli/tests/092_import_map_unmapped_bare_specifier.ts.out') diff --git a/cli/tests/092_import_map_unmapped_bare_specifier.ts.out b/cli/tests/092_import_map_unmapped_bare_specifier.ts.out new file mode 100644 index 000000000..1a55e352b --- /dev/null +++ b/cli/tests/092_import_map_unmapped_bare_specifier.ts.out @@ -0,0 +1,4 @@ +[WILDCARD]error: Uncaught (in promise) TypeError: Relative import path "unmapped" not prefixed with / or ./ or ../ and not in import map from "[WILDCARD]" +await import("unmapped"); +^ + at [WILDCARD] -- cgit v1.2.3