-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Don't minify tree-sitter.js #3379
Copy link
Copy link
Closed
Description
Problem
Currently web-tree-sitter on npm has just these 6 files
- LICENSE
- README.md
- package.json
- tree-sitter-web.d.ts
- tree-sitter.js
- tree-sitter.wasm
where tree-sitter.js is a minified, single-line javascript file. This makes debugging/understanding it difficult.
Expected behavior
tree-sitter.js shouldn't be minified. Users can minify it themselves if they need to, along with the rest of their JavaScript.
Additionally, it would be great to generate source maps for tree-sitter.wasm so that developers could see the original C code it's running https://emscripten.org/docs/porting/Debugging.html , as long as this can be done without affecting performance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels