fix(editor): Fix the path to which tree-sitter wasm files are copied to (no-changelog) (#13389)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2025-02-25 12:22:13 +01:00 committed by GitHub
parent 6953b0d53a
commit 6706aa6664
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,10 +66,13 @@ const plugins = [
}),
viteStaticCopy({
targets: [
{ src: pathPosix.resolve('node_modules/web-tree-sitter/tree-sitter.wasm'), dest: 'public' },
{
src: pathPosix.resolve('node_modules/web-tree-sitter/tree-sitter.wasm'),
dest: resolve(__dirname, 'dist'),
},
{
src: pathPosix.resolve('node_modules/curlconverter/dist/tree-sitter-bash.wasm'),
dest: 'public',
dest: resolve(__dirname, 'dist'),
},
],
}),