1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/cli/util
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
..
progress_bar fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00
checksum.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
console.rs refactor(runtime): factor out deno_io extension crate (#18001) 2023-03-05 00:39:48 +00:00
diff.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
display.rs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
draw_thread.rs chore(cli): remove atty crate (#20275) 2023-08-25 07:43:07 -06:00
file_watcher.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
fs.rs feat(compile): support "bring your own node_modules" in deno compile (#21377) 2023-11-29 09:32:23 -05:00
glob.rs fix(lsp): don't pre-load documents matched in the config file's "exclude" (#19431) 2023-06-13 15:48:53 -04:00
import_map.rs feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
logger.rs chore: disable rustls logging (#19859) 2023-07-17 16:49:03 -06:00
mod.rs feat(unstable): tar up directory with deno.json (#21228) 2023-11-23 23:38:07 +00:00
path.rs refactor(lsp): cleanup document preload (#20520) 2023-09-18 20:58:16 +01:00
sync.rs refactor: remove DENO_UNSTABLE_NPM_SYNC_DOWNLOAD and custom sync functionality (#20504) 2023-09-14 17:51:28 +00:00
text_encoding.rs chore: update base64 crate (#20877) 2023-10-26 18:39:04 +02:00
time.rs chore(cli): update chrono to remove broken time dep (#20508) 2023-09-14 13:17:38 -06:00
unix.rs perf: lazy atexit setup (#21053) 2023-11-04 17:30:12 +05:30
v8.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
windows.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00