From 64c5a22ff6f20a9b20790b50480dceb1c5e1d28d Mon Sep 17 00:00:00 2001 From: Ashley Williams Date: Fri, 21 Sep 2018 11:19:13 -0400 Subject: [PATCH] feat(bindgen): accept no-modules as target --- src/bindgen.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bindgen.rs b/src/bindgen.rs index 2d4a2bb..60fd72c 100644 --- a/src/bindgen.rs +++ b/src/bindgen.rs @@ -136,6 +136,7 @@ pub fn wasm_bindgen_build( }; let target_arg = match target { "nodejs" => "--nodejs", + "no-modules" => "--no-modules", _ => "--browser", }; let bindgen_path = Path::new(&wasm_bindgen_path);