mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
build(copy-dist): avoid copying over the app dir into dist
we have the bundled "app-dist" already in the "dist", copying over the original unbundled "app" folder serves no benefit here
This commit is contained in:
parent
af5e4ee3b5
commit
24382d8176
@ -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)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user