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 {
"nodejs" => "--nodejs",
"no-modules" => "--no-modules",
_ => "--browser",
};
let bindgen_path = Path::new(&wasm_bindgen_path);

Loading…
Cancel
Save