chore: comment out logs for further testing

This commit is contained in:
Nathan Walker
2025-08-05 15:23:43 -07:00
parent c934d898b4
commit 75d04ea4fb
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
import { Observable } from '../data/observable'; import { Observable } from '../data/observable';
import { trace as profilingTrace, time, uptime, level as profilingLevel } from '../profiling'; 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 * Manages internal framework global state

View File

@ -10,11 +10,11 @@ import * as wgc from '../wgc';
import * as cryptoImpl from '../wgc/crypto'; import * as cryptoImpl from '../wgc/crypto';
import * as subtleCryptoImpl from '../wgc/crypto/SubtleCrypto'; import * as subtleCryptoImpl from '../wgc/crypto/SubtleCrypto';
console.log('here in globals/index!'); // console.log('here in globals/index!');
console.log(`typeof __dirname:`, typeof __dirname); // console.log(`typeof __dirname:`, typeof __dirname);
// commonjs builds will have __dirname defined, but esm builds will not // commonjs builds will have __dirname defined, but esm builds will not
global.__dirname = typeof __dirname !== 'undefined' ? __dirname : import.meta.dirname; 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') { if (typeof global.__metadata === 'undefined') {
/** /**
@ -243,7 +243,7 @@ global.Experimental = function (target: Object, key?: string | symbol, descripto
}; };
const modules: Map<string, { moduleId: string; loader: ModuleLoader }> = new Map<string, { moduleId: string; loader: ModuleLoader }>(); const modules: Map<string, { moduleId: string; loader: ModuleLoader }> = new Map<string, { moduleId: string; loader: ModuleLoader }>();
console.log(`globals/index, __COMMONJS__:`, __COMMONJS__); // console.log(`globals/index, __COMMONJS__:`, __COMMONJS__);
global.loadModule = function loadModule(name: string): any { global.loadModule = function loadModule(name: string): any {
const moduleInfo = modules.get(name); const moduleInfo = modules.get(name);
if (moduleInfo) { if (moduleInfo) {
@ -301,7 +301,7 @@ export function installPolyfills(moduleName: string, exportNames: string[]) {
if (!global.NativeScriptHasPolyfilled) { if (!global.NativeScriptHasPolyfilled) {
global.NativeScriptHasPolyfilled = true; global.NativeScriptHasPolyfilled = true;
console.log('Installing polyfills...'); // console.log('Installing polyfills...');
// DOM api polyfills // DOM api polyfills
const glb = global as any; const glb = global as any;

View File

@ -1,6 +1,6 @@
import { getNativeApp } from '../application/helpers-common'; import { getNativeApp } from '../application/helpers-common';
console.log('__dirname:', global.__dirname); // console.log('__dirname:', global.__dirname);
function getCurrentAppPath(): string { function getCurrentAppPath(): string {
if (__APPLE__) { if (__APPLE__) {