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:
Panagiotis Papadopoulos 2025-02-26 21:43:48 +01:00 committed by Panagiotis Papadopoulos
parent af5e4ee3b5
commit 24382d8176

View File

@ -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)));