mirror of
https://github.com/zadam/trilium.git
synced 2026-01-15 02:54:24 +01:00
chore(client-standalone): bring back window.global
This commit is contained in:
parent
2e905c8292
commit
b5bcf73531
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user