diff --git a/debug-import-lighthouse.mjs b/debug-import-lighthouse.mjs new file mode 100644 index 0000000..b298f66 --- /dev/null +++ b/debug-import-lighthouse.mjs @@ -0,0 +1,17 @@ +(async () => { + console.log('Checking lighthouse exports...'); + try { + const imported = await import('lighthouse'); + console.log('Import Keys:', Object.keys(imported)); + + if (imported.default) { + console.log('Default export exists.'); + console.log('Verifying default is function:', typeof imported.default); + } else { + console.log('Default export is undefined.'); + } + + } catch (e) { + console.error('Import failed:', e); + } +})();