mirror of
https://github.com/zadam/trilium.git
synced 2025-09-12 17:48:34 +08:00
fix(server/esbuild): node_modules not copied
This commit is contained in:
parent
f13ec55082
commit
dac801b369
2 changed files with 17 additions and 1 deletions
|
@ -3,4 +3,5 @@ _regroup_monorepo
|
||||||
|
|
||||||
# Asset copying respects .gitignore / .nxignore for some reason.
|
# Asset copying respects .gitignore / .nxignore for some reason.
|
||||||
# See https://github.com/nrwl/nx/issues/20309
|
# See https://github.com/nrwl/nx/issues/20309
|
||||||
!dist
|
!dist
|
||||||
|
!node_modules
|
|
@ -216,6 +216,21 @@
|
||||||
"glob": "**/*",
|
"glob": "**/*",
|
||||||
"input": "apps/client/dist",
|
"input": "apps/client/dist",
|
||||||
"output": "public"
|
"output": "public"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"glob": "**/*",
|
||||||
|
"input": "apps/server/node_modules/better-sqlite3",
|
||||||
|
"output": "node_modules/better-sqlite3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"glob": "**/*",
|
||||||
|
"input": "apps/server/node_modules/bindings",
|
||||||
|
"output": "node_modules/bindings"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"glob": "**/*",
|
||||||
|
"input": "apps/server/node_modules/file-uri-to-path",
|
||||||
|
"output": "node_modules/file-uri-to-path"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue