mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
docs: document the native js runtime
This commit is contained in:
parent
eedbec8f24
commit
67f50b85f5
|
|
@ -63,4 +63,6 @@ Report conflicts in a JSON format.
|
|||
### `--js-runtime <EXECUTABLE>`
|
||||
|
||||
The path to the JavaScript runtime executable to use when generating the parser. The default is `node`.
|
||||
Note that you can also set this with `TREE_SITTER_JS_RUNTIME`.
|
||||
Note that you can also set this with `TREE_SITTER_JS_RUNTIME`. Starting from version 0.26.0, you can
|
||||
also pass in `native` to use the native QuickJS runtime that comes bundled with the CLI. This avoids
|
||||
the dependency on a JavaScript runtime entirely.
|
||||
|
|
|
|||
Loading…
Reference in a new issue