Skip to content

Build your personal knowledge base with Trilium Notes

chore(monorepo/server): copy client artifacts

Elian Doran88994ae9d9bd
diff --git a/apps/server/scripts/copy-dist.ts b/apps/server/scripts/copy-dist.ts
index 1ee8821b17..8c80a4ef80 100644
--- a/apps/server/scripts/copy-dist.ts
+++ b/apps/server/scripts/copy-dist.ts
@@ -72,6 +72,7 @@ try {
fs.copySync(dir, path.normalize(path.join(PUBLIC_DIR, path.basename(dir))));
}
+ fs.copySync(path.join(clientDir, "build"), path.join(DEST_DIR, "src", "public", "app-dist"));
fs.copySync(path.join(rootDir, "packages", "turndown-plugin-gfm", "src"), path.join(DEST_DIR, "src", "public", "app-dist", "turndown-plugin-gfm"));
console.log("Copying complete!")