From cda04bef26dc5c3a629069e56d1677e721a3403c Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 5 Nov 2025 09:12:36 +0100 Subject: [PATCH] don't print out file names in bundle --- interface/vite.config.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/interface/vite.config.ts b/interface/vite.config.ts index a013b6990..e73106230 100644 --- a/interface/vite.config.ts +++ b/interface/vite.config.ts @@ -66,13 +66,13 @@ const bundleSizeReporter = (): Plugin => { files.sort((a, b) => b.size - a.size); - files.forEach((file) => { - const sizeKB = (file.size / KB_DIVISOR).toFixed(2); - const gzipKB = (file.gzipSize / KB_DIVISOR).toFixed(2); - console.log( - `📄 ${file.name.padEnd(30)} ${sizeKB.padStart(8)} KB (${gzipKB} KB gzipped)` - ); - }); + // files.forEach((file) => { + // const sizeKB = (file.size / KB_DIVISOR).toFixed(2); + // const gzipKB = (file.gzipSize / KB_DIVISOR).toFixed(2); + // console.log( + // `📄 ${file.name.padEnd(30)} ${sizeKB.padStart(8)} KB (${gzipKB} KB gzipped)` + // ); + // }); const totalSize = files.reduce((sum, file) => sum + file.size, 0); const totalGzipSize = files.reduce((sum, file) => sum + file.gzipSize, 0);