From c6c8c91a6e4b7a2b6eed02d3e2f5db25c124d9a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 25 Jan 2023 21:13:40 +0100 Subject: feat: embed import map in the config file (#17478) This commit changes handling of config file to enable specifying "imports" and "scopes" objects effectively making the configuration file an import map. "imports" and "scopes" take precedence over "importMap" configuration, but have lower priority than "--importmap" CLI flag. Co-authored-by: David Sherret Co-authored-by: David Sherret --- cli/tests/testdata/lsp/deno.embedded_import_map.jsonc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cli/tests/testdata/lsp/deno.embedded_import_map.jsonc (limited to 'cli/tests/testdata/lsp') diff --git a/cli/tests/testdata/lsp/deno.embedded_import_map.jsonc b/cli/tests/testdata/lsp/deno.embedded_import_map.jsonc new file mode 100644 index 000000000..75d5d0849 --- /dev/null +++ b/cli/tests/testdata/lsp/deno.embedded_import_map.jsonc @@ -0,0 +1,5 @@ +{ + "imports": { + "/~/": "./lib/" + } +} -- cgit v1.2.3