mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(editor): Fix the path to which tree-sitter wasm files are copied to (no-changelog) (#13389)
This commit is contained in:
committed by
GitHub
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'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user