0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
denoland-deno/cli/tests/single_compile_with_reload.ts.out
Nayeem Rahman 2ea41d3ac1
fix(core/modules): Prepare modules only once per runtime (#11015)
This commit changes module loading implementation in "deno_core"
to call "ModuleLoader::prepare" hook only once per entry point.

This is done to avoid multiple type checking of the same code
in case of duplicated dynamic imports.

Relevant code in "cli/module_graph.rs" was updated as well.
2021-06-19 16:14:43 +02:00

9 lines
149 B
Text

Check [WILDCARD]single_compile_with_reload.ts
Hello
1
2
Check [WILDCARD]single_compile_with_reload_worker.ts
Hello from worker
3
Hello from worker
4