diff --git a/packages/core/globals/global-utils.ts b/packages/core/globals/global-utils.ts index cd47208d3..d01dd8c7b 100644 --- a/packages/core/globals/global-utils.ts +++ b/packages/core/globals/global-utils.ts @@ -1,6 +1,6 @@ import { Observable } from '../data/observable'; import { trace as profilingTrace, time, uptime, level as profilingLevel } from '../profiling'; -console.log('here in globals/global-utils!'); +// console.log('here in globals/global-utils!'); /** * Manages internal framework global state diff --git a/packages/core/globals/index.ts b/packages/core/globals/index.ts index 008613f43..fe5a3cb65 100644 --- a/packages/core/globals/index.ts +++ b/packages/core/globals/index.ts @@ -10,11 +10,11 @@ import * as wgc from '../wgc'; import * as cryptoImpl from '../wgc/crypto'; import * as subtleCryptoImpl from '../wgc/crypto/SubtleCrypto'; -console.log('here in globals/index!'); -console.log(`typeof __dirname:`, typeof __dirname); +// console.log('here in globals/index!'); +// console.log(`typeof __dirname:`, typeof __dirname); // commonjs builds will have __dirname defined, but esm builds will not global.__dirname = typeof __dirname !== 'undefined' ? __dirname : import.meta.dirname; -console.log('global.__dirname', global.__dirname); +// console.log('global.__dirname', global.__dirname); if (typeof global.__metadata === 'undefined') { /** @@ -243,7 +243,7 @@ global.Experimental = function (target: Object, key?: string | symbol, descripto }; const modules: Map = new Map(); -console.log(`globals/index, __COMMONJS__:`, __COMMONJS__); +// console.log(`globals/index, __COMMONJS__:`, __COMMONJS__); global.loadModule = function loadModule(name: string): any { const moduleInfo = modules.get(name); if (moduleInfo) { @@ -301,7 +301,7 @@ export function installPolyfills(moduleName: string, exportNames: string[]) { if (!global.NativeScriptHasPolyfilled) { global.NativeScriptHasPolyfilled = true; - console.log('Installing polyfills...'); + // console.log('Installing polyfills...'); // DOM api polyfills const glb = global as any; diff --git a/packages/core/utils/debug-source.ts b/packages/core/utils/debug-source.ts index 6cd037e59..6ae704ee7 100644 --- a/packages/core/utils/debug-source.ts +++ b/packages/core/utils/debug-source.ts @@ -1,6 +1,6 @@ import { getNativeApp } from '../application/helpers-common'; -console.log('__dirname:', global.__dirname); +// console.log('__dirname:', global.__dirname); function getCurrentAppPath(): string { if (__APPLE__) {