mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Fix the path to which tree-sitter wasm files are copied to (no-changelog) (#13389)
This commit is contained in:
parent
6953b0d53a
commit
6706aa6664
|
@ -66,10 +66,13 @@ const plugins = [
|
||||||
}),
|
}),
|
||||||
viteStaticCopy({
|
viteStaticCopy({
|
||||||
targets: [
|
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'),
|
src: pathPosix.resolve('node_modules/curlconverter/dist/tree-sitter-bash.wasm'),
|
||||||
dest: 'public',
|
dest: resolve(__dirname, 'dist'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue