From 5b28b66e7c77e569a3979294026756e6ef4dc951 Mon Sep 17 00:00:00 2001 From: Ihor Ranchynskyi Date: Thu, 1 Aug 2024 19:19:50 +0100 Subject: [PATCH] Add semicolon to "export { initSync }" in OutputMode::Web (#4033) --- crates/cli-support/src/js/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cli-support/src/js/mod.rs b/crates/cli-support/src/js/mod.rs index 56c1f12ebf1..7703b341f4b 100644 --- a/crates/cli-support/src/js/mod.rs +++ b/crates/cli-support/src/js/mod.rs @@ -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;"); } }