Closed go-run-jump closed 3 weeks ago
Just testing this on a different non-dart-project gave the same errors. I seem that I broke the functionality while developing. With the last published version (1.3.4), non-dart-support is working. Thus I'm closing the issue.
@go-run-jump Dart support been included directly into tree-sitter, https://github.com/tree-sitter/tree-sitter/wiki/List-of-parsers, so no need for tree-sitter-dart.
Description
I'm working on adding support for Dart in claude-dev using the
tree-sitter-dart
package (https://www.npmjs.com/package/tree-sitter-dart). However, I'm encountering issues with incorporating the WASM file into the build process, and subsequently having the dart support in claude-dev.Current Behavior
The WASM file is not being loaded correctly in
languageParser.ts
. What I notice there is that the loading mechanism doesn't seem to be using the the location where the WASM files are supposed to be copied according toesbuild.js
.What I want to achieve
The WASM file should be properly incorporated into the build and loaded correctly by
loadLanguage
inlanguageParser.ts
.Questions
languageParser.ts
?esbuild.js
to ensure the WASM file is copied to the correct location?Additional Context
tree-sitter-dart
version: 1.0.0Any guidance would be greatly appreciated.