diff --git a/apps/server/scripts/copy-dist.ts b/apps/server/scripts/copy-dist.ts index b20a90565..750462422 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.