Skip to content

Build your personal knowledge base with Trilium Notes

fix(monorepo/desktop): fix missing express-partial-content

Elian Doran0aa55ddebc2e
diff --git a/apps/server/scripts/copy-dist.ts b/apps/server/scripts/copy-dist.ts
index b20a905657..750462422a 100644
--- a/apps/server/scripts/copy-dist.ts
+++ b/apps/server/scripts/copy-dist.ts
@@ -41,7 +41,7 @@ function copyNodeModules(packageJsonPath: string) {
// Skip monorepo packages
packageJson.dependencies = Object.fromEntries(
Object.entries(packageJson.dependencies).filter(([key]) => {
- return !key.startsWith("@triliumnext");
+ return (key === "@triliumnext/express-partial-content" || !key.startsWith("@triliumnext"));
}));
// Trigger an npm install to obtain the dependencies.