overlay = document.createElement('div'); overlay.id = 'build-error-overlay'; overlay.innerHTML = `

🚨 Build Error

${errorMsg.replace(//g, '>')}
`; overlay.style.display = 'none'; document.body.appendChild(overlay); } // Throw the error so it appears in console with stack trace throw buildError; })();