@leftium/gg 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gg.js +3 -2
- package/package.json +1 -1
package/dist/gg.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import debugFactory, {} from './debug/index.js';
|
|
1
|
+
import debugFactory, { debugReady } from './debug/index.js';
|
|
2
2
|
import { BROWSER, DEV } from 'esm-env';
|
|
3
3
|
import { toWordTuple } from './words.js';
|
|
4
4
|
const _ggCallSitesPlugin = typeof __GG_TAG_PLUGIN__ !== 'undefined' ? __GG_TAG_PLUGIN__ : false;
|
|
@@ -986,8 +986,9 @@ export async function runGgDiagnostics() {
|
|
|
986
986
|
if (!ggConfig.showHints || isCloudflareWorker() || diagnosticsRan)
|
|
987
987
|
return;
|
|
988
988
|
diagnosticsRan = true;
|
|
989
|
-
// Ensure server modules (dotenv) are loaded before diagnostics
|
|
989
|
+
// Ensure server modules (dotenv) and debug factory are loaded before diagnostics
|
|
990
990
|
await serverModulesReady;
|
|
991
|
+
await debugReady;
|
|
991
992
|
// Create test debugger for server-side enabled check
|
|
992
993
|
const ggLogTest = debugFactory('gg:TEST');
|
|
993
994
|
let ggMessage = '\n';
|