From 24382d8176348868c4523e0e92cc94453630c75a Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Wed, 26 Feb 2025 21:43:48 +0100 Subject: [PATCH] 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 --- bin/copy-dist.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts index 4ae25c681..5b861ca9e 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)));