Closed 7flash closed 10 months ago
I guess web workers or blob URIs are not supported within compiled binaries. I need to check the documentation. Meanwhile, you can disable the usage of web workers by calling zip.configure({ useWebWorkers: false })
in order to circumvent this issue.
I guess web workers or blob URIs are not supported within compiled binaries. I need to check the documentation. Meanwhile, you can disable the usage of web workers by calling
zip.configure({ useWebWorkers: false })
in order to circumvent this issue.
Thanks it works https://github.com/7flash/deno-webui/commit/aacd9ab694c199c987982d2565a83d468687653d
Actually, you might be able to use workers by using --include
, as documented here: https://docs.deno.com/runtime/manual/tools/compiler#workers. The filename to pass as parameter is dist/z-worker.js
.
1) save minimal example to repoduce to second-nov24.ts https://github.com/gildas-lormeau/zip.js#hello-world
2) it works as expected
3) it fails in runtime when compiled binary