Skip to content

Build your personal knowledge base with Trilium Notes

build(copy-dist): do not copy build folder into src folder

Panagiotis Papadopoulos135101f57ba1
diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts
index 6dae9b3dc6..9eaf2cbc2b 100644
--- a/bin/copy-dist.ts
+++ b/bin/copy-dist.ts
@@ -45,7 +45,7 @@ const copy = async () => {
await fs.copy(dir, path.join(DEST_DIR, dir));
}
- const srcDirsToCopy = ["./src/public", "./src/views", "./build"];
+ const srcDirsToCopy = ["./src/public", "./src/views"];
for (const dir of srcDirsToCopy) {
log(`Copying ${dir}`);
await fs.copy(dir, path.join(DEST_DIR_SRC, path.basename(dir)));