mirror of
https://github.com/denoland/deno.git
synced 2025-02-23 05:33:33 -05:00

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();
|