Commit f67e003
committed
fix: copy tree-sitter WASM files to out dir in build
The listCodeDefinitionNamesTool was hanging because the tree-sitter
language parsers could not load the required WASM files at runtime.
The esbuild script was only copying these files to the 'dist' directory,
but the extension runs from the 'out' directory.
This commit updates the 'copyWasmFiles' plugin in esbuild.js to
copy the WASM files to both 'dist' and 'out' directories, ensuring
they are available at runtime.1 parent 664d5b1 commit f67e003
1 file changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
40 | 56 | | |
41 | 57 | | |
42 | 58 | | |
| |||
48 | 64 | | |
49 | 65 | | |
50 | 66 | | |
| 67 | + | |
51 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
52 | 75 | | |
| 76 | + | |
53 | 77 | | |
54 | 78 | | |
55 | 79 | | |
| |||
0 commit comments