docs: correct build steps for WASM files

This commit is contained in:
Amaan Qureshi 2025-02-02 01:51:10 -05:00
parent 05d443a019
commit f20d4b0897
No known key found for this signature in database
GPG key ID: E67890ADC4227273

View file

@ -29,7 +29,9 @@ Optionally, build the WASM library. If you skip this step, then the `tree-sitter
connection. If you have Emscripten installed, this will use your `emcc` compiler. Otherwise, it will use Docker or Podman:
```sh
cargo xtask build-wasm
cd lib/binding_web
npm install # or your JS package manager of choice
npm run build
```
Build the Rust libraries and the CLI: