mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
build(copy-dist): do not copy build folder into src folder
stop the build folder from being copied into the dist/src subfolder → there is no sense in doing that → the contents of the build folder are corretly copied previously already (see line 26ff)
This commit is contained in:
committed by
Panagiotis Papadopoulos
parent
60a2b56636
commit
135101f57b
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user