diff options
-rw-r--r-- | runtime/examples/hello_runtime.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/examples/hello_runtime.rs b/runtime/examples/hello_runtime.rs index 2bc371b68..d4e39dd2d 100644 --- a/runtime/examples/hello_runtime.rs +++ b/runtime/examples/hello_runtime.rs @@ -9,7 +9,11 @@ use deno_runtime::worker::WorkerOptions; use std::path::Path; use std::rc::Rc; -deno_core::extension!(hello_runtime, esm = ["hello_runtime_bootstrap.js"]); +deno_core::extension!( + hello_runtime, + esm_entry_point = "ext:hello_runtime/hello_runtime_bootstrap.js", + esm = ["hello_runtime_bootstrap.js"] +); #[tokio::main] async fn main() -> Result<(), AnyError> { |