feat(web)!: use the WASM module in the bindings, and not the other way around

Parser is no longer the default export, but you *must* call
`Parser.init()` before doing anything still
This commit is contained in:
Amaan Qureshi 2025-01-19 15:15:01 -05:00
parent b1e39d2dba
commit be7716dfa7
29 changed files with 613 additions and 662 deletions

View file

@ -1,5 +1,8 @@
debug/
dist/
/lib/tree-sitter.js
/lib/tree-sitter.wasm
/lib/tree-sitter.wasm.map
/tree-sitter.js
/tree-sitter.js.map
/tree-sitter.wasm