Revert "add debug logging for static file asset registration"

This reverts commit fbea4c84dc.
This commit is contained in:
Nacho Codoñer
2025-09-23 13:22:30 +02:00
parent 91a428e105
commit a2c2970dfb

View File

@@ -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];
}