diff options
author | Luca Casonato <hello@lcas.dev> | 2022-08-24 19:36:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 19:36:05 +0200 |
commit | 33c4d45328166d103e99a8c243727eead626080c (patch) | |
tree | 70331a9964f8faf780942696c34aab867accf7bf /cli/tests/testdata/jsx_import_source_error.out | |
parent | 6bb72a80863ac3913d32ea21aae32dd327ce6b71 (diff) |
fix: resolve `jsxImportSource` relative to module (#15561)
Previously `jsxImportSource` was resolved relative to the config file
during graph building, and relative to the emitted module during
runtime.
This is now fixed so that the JSX import source is resolved relative to
the module both during graph building and at runtime.
Diffstat (limited to 'cli/tests/testdata/jsx_import_source_error.out')
-rw-r--r-- | cli/tests/testdata/jsx_import_source_error.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/jsx_import_source_error.out b/cli/tests/testdata/jsx_import_source_error.out index 957fa4a97..634a5b09b 100644 --- a/cli/tests/testdata/jsx_import_source_error.out +++ b/cli/tests/testdata/jsx_import_source_error.out @@ -1,2 +1,2 @@ error: Module not found "file:///[WILDCARD]/nonexistent/jsx-runtime". - at file:///[WILDCARD]/deno-jsx-error.jsonc:1:1 + at file:///[WILDCARD]/jsx_import_source_no_pragma.tsx:1:1 |