Skip to content

Commit

Permalink
Add semicolon to "export { initSync }" in OutputMode::Web (#4033)
Browse files Browse the repository at this point in the history
  • Loading branch information
Awpteamoose committed Aug 1, 2024
1 parent 12f560a commit 5b28b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli-support/src/js/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ impl<'a> Context<'a> {
OutputMode::Web => {
self.imports_post.push_str("let wasm;\n");
init = self.gen_init(needs_manual_start, Some(&mut imports))?;
footer.push_str("export { initSync }\n");
footer.push_str("export { initSync };\n");
footer.push_str("export default __wbg_init;");
}
}
Expand Down

0 comments on commit 5b28b66

Please sign in to comment.