1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/cli/tests/testdata/jsr
David Sherret a1d823e27d
feat(compile): support discovering modules for more dynamic arguments (#21381)
This PR causes Deno to include more files in the graph based on how a
template literal looks that's provided to a dynamic import:

```ts
const file = await import(`./dir/${expr}`);
```

In this case, it will search the `dir` directory and descendant
directories for any .js/jsx/etc modules and include them in the graph.

To opt out of this behaviour, move the template literal to a separate
line:

```ts
const specifier = `./dir/${expr}`
const file = await import(specifier);
```
2023-12-01 20:12:10 +00:00
..
deps fix: improve deno doc --lint error messages (#21156) 2023-11-10 18:40:39 +00:00
module_graph fix: improve deno doc --lint error messages (#21156) 2023-11-10 18:40:39 +00:00
no_module_graph fix: improve deno doc --lint error messages (#21156) 2023-11-10 18:40:39 +00:00
registry/@denotest feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
version_not_found feat(unstable): package manager (#20517) 2023-09-18 10:46:44 -04:00