Skip to content

Build your personal knowledge base with Trilium Notes

build(copy-dist): avoid copying over the app dir into dist

Panagiotis Papadopoulos24382d817634
diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts
index 4ae25c6810..5b861ca9e5 100644
--- a/bin/copy-dist.ts
+++ b/bin/copy-dist.ts
@@ -56,7 +56,7 @@ const copy = async () => {
await fs.copy(dir, path.join(DEST_DIR, dir));
}
- const srcDirsToCopy = ["./src/public", "./src/views"];
+ const srcDirsToCopy = ["./src/views"];
for (const dir of srcDirsToCopy) {
log(`Copying ${dir}`);
await fs.copy(dir, path.join(DEST_DIR_SRC, path.basename(dir)));