Skip to content

Commit d93cfcc

Browse files
committed
Export initWithoutStart for no-module builds
1 parent 55360db commit d93cfcc

File tree

1 file changed

+1
-1
lines changed
  • crates/cli-support/src/js

1 file changed

+1
-1
lines changed

crates/cli-support/src/js/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ impl<'a> Context<'a> {
385385
js.push_str("let wasm;\n");
386386
init = self.gen_init(needs_manual_start, None)?;
387387
footer.push_str(&format!(
388-
"{} = Object.assign(init, {{ initSync }}, __exports);\n",
388+
"{} = Object.assign(init, {{ initWithoutStart }}, {{ initSync }}, __exports);\n",
389389
global
390390
));
391391
}

0 commit comments

Comments
 (0)