mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
2ea41d3ac1
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.
3 lines
62 B
TypeScript
3 lines
62 B
TypeScript
console.log("Hello from worker");
|
|
postMessage(null);
|
|
close();
|