diff --git a/packages/brisa/src/cli/build.test.ts b/packages/brisa/src/cli/build.test.ts index 49cc27878..9accb50ed 100644 --- a/packages/brisa/src/cli/build.test.ts +++ b/packages/brisa/src/cli/build.test.ts @@ -65,6 +65,7 @@ describe('cli', () => { mockLog.mockRestore(); mock.restore(); globalThis.mockConstants = undefined; + process.env.QUIET_MODE = undefined; }); it('should remove the content of build directory if it exists (except _brisa)', async () => { diff --git a/packages/brisa/src/utils/client-build/layout-build/index.test.ts b/packages/brisa/src/utils/client-build/layout-build/index.test.ts index bc78649eb..e3ec9777f 100644 --- a/packages/brisa/src/utils/client-build/layout-build/index.test.ts +++ b/packages/brisa/src/utils/client-build/layout-build/index.test.ts @@ -22,7 +22,7 @@ const i18nCode = 3653; const brisaSize = 5638; // TODO: Reduce this size :/ const webComponents = 1118; const unsuspenseSize = 213; -const rpcSize = 2500; // TODO: Reduce this size +const rpcSize = 2509; // TODO: Reduce this size const lazyRPCSize = 4105; // TODO: Reduce this size // lazyRPC is loaded after user interaction (action, link), // so it's not included in the initial size diff --git a/packages/brisa/src/utils/compile-files/index.test.ts b/packages/brisa/src/utils/compile-files/index.test.ts index 056f21ae6..8d941e658 100644 --- a/packages/brisa/src/utils/compile-files/index.test.ts +++ b/packages/brisa/src/utils/compile-files/index.test.ts @@ -51,6 +51,7 @@ describe('utils', () => { const constants = getConstants(); const mockExtendPlugins = mock(); + process.env.QUIET_MODE = undefined; globalThis.mockConstants = { ...constants, PAGES_DIR: DEV_PAGES_DIR, @@ -952,6 +953,7 @@ describe('utils', () => { ASSETS_DIR: path.join(SRC_DIR, 'out', 'public'), }; + process.env.QUIET_MODE = undefined; mockConsoleLog.mockImplementation(() => {}); mock.module('brisa/server', () => ({ SSRWebComponent, diff --git a/packages/brisa/src/utils/handle-css-files/index.ts b/packages/brisa/src/utils/handle-css-files/index.ts index 71d750c1c..9a1ff38ff 100644 --- a/packages/brisa/src/utils/handle-css-files/index.ts +++ b/packages/brisa/src/utils/handle-css-files/index.ts @@ -1,7 +1,7 @@ import path from 'node:path'; import fs from 'node:fs'; import { getConstants } from '@/constants'; -import { log, logError } from '../log/log-build'; +import { logError } from '../log/log-build'; import { gzipSync } from 'bun'; import { brotliCompressSync } from 'node:zlib'; @@ -26,7 +26,10 @@ export default async function handleCSSFiles() { const startTime = Date.now(); if (IS_BUILD_PROCESS) { - log(LOG_PREFIX.WAIT, `transpiling CSS with ${integration.name}...`); + console.log( + LOG_PREFIX.WAIT, + `transpiling CSS with ${integration.name}...`, + ); } let useDefault = true;