From a2c2970dfb227ef3f9fc39cd352e7323374924d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Tue, 23 Sep 2025 13:22:30 +0200 Subject: [PATCH] Revert "add debug logging for static file asset registration" This reverts commit fbea4c84dc00dbfaa0921b259a32f004fc17464d. --- packages/rspack/rspack_server.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/rspack/rspack_server.js b/packages/rspack/rspack_server.js index 3caf7f82a3..477ecfbcc3 100644 --- a/packages/rspack/rspack_server.js +++ b/packages/rspack/rspack_server.js @@ -9,7 +9,6 @@ import { RSPACK_ASSETS_CONTEXT, RSPACK_HOT_UPDATE_REGEX, } from "./lib/constants"; -import { isMeteorAppDebug } from "meteor/tools-core/lib/meteor"; // Define constants for both development and production const rspackChunksContext = process.env.RSPACK_CHUNKS_CONTEXT || RSPACK_CHUNKS_CONTEXT; @@ -146,10 +145,6 @@ function registerRspackStaticAsset(arch, pathname, filePath) { if (staticFiles[pathname]) { // Ensure the entry is marked as cacheable staticFiles[pathname].cacheable = true; - - if (isMeteorAppDebug()) { - console.log(`Registering rspack asset: ${archName} ${pathname} cacheable ${staticFiles[pathname].cacheable}`); - } return staticFiles[pathname]; } @@ -170,10 +165,6 @@ function registerRspackStaticAsset(arch, pathname, filePath) { type }; - if (isMeteorAppDebug()) { - console.log(`Registering rspack asset: ${archName} ${pathname} cacheable ${staticFiles[pathname].cacheable}`); - } - return staticFiles[pathname]; }