diff --git a/wasm/index.js b/wasm/index.js index f58be7fdd..c3773b598 100644 --- a/wasm/index.js +++ b/wasm/index.js @@ -33,7 +33,7 @@ function loadPandoc() { } // Start loading immediately in background (fire and forget) -loadPandoc(); +loadPandoc().catch(err => console.error("Failed to load pandoc:", err)); // Lazy-load typst library only when needed let typstLoaded = false;