Remove --nodejs-runtime-detect

Instead use it by default and add a --browser argument to explicity
remove the shim.

Closes #79
This commit is contained in:
Alex Crichton
2018-03-28 07:37:56 -07:00
parent bde56d3a6e
commit 28c3fdddf5
4 changed files with 51 additions and 83 deletions

View File

@ -193,8 +193,6 @@ impl Project {
cli::Bindgen::new()
.input_path(&as_a_module)
.nodejs(true)
.nodejs_runtime_detect(self.detect_node)
.typescript(true)
.debug(self.debug)
.generate(&root)