Skip to content

Commit 18f4014

Browse files
committed
docs: correct build steps for WASM files
1 parent 4c553fb commit 18f4014

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/6-contributing.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ Optionally, build the WASM library. If you skip this step, then the `tree-sitter
2929
connection. If you have Emscripten installed, this will use your `emcc` compiler. Otherwise, it will use Docker or Podman:
3030

3131
```sh
32-
cargo xtask build-wasm
32+
cd lib/binding_web
33+
npm install # or your JS package manager of choice
34+
npm run build
3335
```
3436

3537
Build the Rust libraries and the CLI:

0 commit comments

Comments
 (0)