From f6d6b24506410816833d802e1a8d9cd704f73289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 17 Feb 2021 14:32:57 +0100 Subject: feat: support loading import map from URL (#9519) This commit adds support for loading import maps from URLs, both remote and local. This feature is supported in CLI flag as well as in runtime compiler API. --- cli/tests/import_maps/test_remote.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cli/tests/import_maps/test_remote.ts (limited to 'cli/tests/import_maps/test_remote.ts') diff --git a/cli/tests/import_maps/test_remote.ts b/cli/tests/import_maps/test_remote.ts new file mode 100644 index 000000000..206bdbd5f --- /dev/null +++ b/cli/tests/import_maps/test_remote.ts @@ -0,0 +1,5 @@ +import "moment"; +import "moment/other_file.ts"; +import "lodash"; +import "lodash/other_file.ts"; +import "https://www.unpkg.com/vue/dist/vue.runtime.esm.js"; -- cgit v1.2.3