Describe the bug
The bundled code has an absolute path for Worker in dist/esm/opfs-worker.js:
function WorkerWrapper(options) {
return new Worker(
"/assets/opfs-worker-CCciqEMo.js",
{
name: options?.name
}
);
}
This fails in browser unless you copy the file from node_modules to static assets (public/assets/opfs-worker-CCciqEMo.js).
Describe the bug
The bundled code has an absolute path for Worker in
dist/esm/opfs-worker.js:This fails in browser unless you copy the file from
node_modulesto static assets (public/assets/opfs-worker-CCciqEMo.js).