mirror of
https://github.com/zadam/trilium.git
synced 2026-07-10 19:53:59 +02:00
chore(client-standalone): bring back window.global
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user