feat(bindgen): accept no-modules as target

master
Ashley Williams 7 years ago
parent 37349a63f0
commit 64c5a22ff6
  1. 1
      src/bindgen.rs

@ -136,6 +136,7 @@ pub fn wasm_bindgen_build(
}; };
let target_arg = match target { let target_arg = match target {
"nodejs" => "--nodejs", "nodejs" => "--nodejs",
"no-modules" => "--no-modules",
_ => "--browser", _ => "--browser",
}; };
let bindgen_path = Path::new(&wasm_bindgen_path); let bindgen_path = Path::new(&wasm_bindgen_path);

Loading…
Cancel
Save