bennypB
Deno10mo ago
2 replies
bennyp

Bundling node-tree-sitter

Hello there! I'm working on a language server written in Deno TS. I'd like to bundle it with node-tree-sitter, and I'm using esbuild as the docs recommend., but node-tree-sitter doesn't bundle nicely.

https://github.com/bennypowers/design-tokens-language-server/issues/1#issuecomment-2776935304

If you have some ideas how I might work around this, I'd appreciate your input. Maybe with a dynamic import and --include?
GitHub
single char range: if cursor is on a design token in a var() call, remove the fallback if it exists, add the fallback if it doesn't, or cycle the fallback between light-dark values, if it's...
Was this page helpful?