Fix pdfjs lib no-loading in static build. Using classic Service Worker

This commit is contained in:
2026-09-12 12:07:28 +03:00
parent c84e55488c
commit 78d4fc68cb
8 changed files with 310 additions and 16 deletions

View File

@ -8,7 +8,7 @@
let { onBack = () => {} } = $props();
const store = createPrintStore();
let fileInput;
let fileInput = $state(null);
function handleFileSelect(event) {
store.addFiles(event.target.files);