mirror of
https://github.com/denoland/deno.git
synced 2025-02-02 20:55:35 -05:00
a1d823e27d
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); ``` |
||
---|---|---|
.. | ||
dynamic_imports | ||
dynamic_imports_tmp_lit | ||
node_modules_symlink_outside | ||
npm_fs | ||
vfs_implicit_read_permission | ||
workers | ||
args.ts | ||
check_local_by_default.ts | ||
check_local_by_default2.ts | ||
standalone_error.ts | ||
standalone_error_module_with_imports_1.ts | ||
standalone_error_module_with_imports_2.ts | ||
standalone_follow_redirects.ts | ||
standalone_follow_redirects_2.js | ||
standalone_import_datauri.ts | ||
standalone_import_map.json | ||
standalone_import_map.ts | ||
standalone_import_map_config.json | ||
standalone_runtime_flags.ts |