chore(client-standalone): bring back window.global

This commit is contained in:
Elian Doran 2026-01-07 16:21:35 +02:00
parent 2e905c8292
commit b5bcf73531
No known key found for this signature in database

View File

@ -1,6 +1,9 @@
import { attachServiceWorkerBridge, startLocalServerWorker } from "./local-bridge.js";
async function bootstrap() {
/* fixes https://github.com/webpack/webpack/issues/10035 */
window.global = globalThis;
// 1) Start local worker ASAP (so /bootstrap is fast)
startLocalServerWorker();