diff --git a/crates/cli-support/src/js/mod.rs b/crates/cli-support/src/js/mod.rs index f12780592..f45487cb0 100644 --- a/crates/cli-support/src/js/mod.rs +++ b/crates/cli-support/src/js/mod.rs @@ -560,7 +560,7 @@ impl<'a> Context<'a> { if (path_or_module instanceof WebAssembly.Module) {{ instantiation = WebAssembly.instantiate(path_or_module, imports) .then(instance => {{ - return {{ instance, module: module_or_path }} + return {{ instance, module: path_or_module }} }}); }} else {{ const data = fetch(path_or_module);