We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--weak-refs
--reference-types
wasm-bindgen
1 parent 4947206 commit 9760eaaCopy full SHA for 9760eaa
src/wasm_bindgen.rs
@@ -15,7 +15,7 @@ pub fn generate(options: &Options, wasm_file: &Path) -> Result<WasmBindgenOutput
15
debug!("running wasm-bindgen...");
16
let start = std::time::Instant::now();
17
let mut bindgen = wasm_bindgen_cli_support::Bindgen::new();
18
- bindgen.input_path(wasm_file).typescript(false);
+ bindgen.input_path(wasm_file).typescript(false).weak_refs(true).reference_types(true);
19
20
if options.no_module {
21
bindgen.no_modules(true)?;
0 commit comments