fix: don't accidentally generate .d.ts files with wasm-bindgen (#3577)

* no typescript flag

* move field
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-01-16 13:27:07 -08:00
1 parent 857c3e232e
commit db16de15c5
1 file changed
+3
+3
View File
@@ -52,6 +52,9 @@ impl WasmBindgen {
args.push("--remove-producers-section");
}
// wbg generates typescript bindnings by default - we don't want those
args.push("--no-typescript");
// Out name
args.push("--out-name");
args.push(&self.out_name);