-
**Describe the bug**
I'm developing a Svelte app and tried to add vite-plugin-comlink. Unfortunately, I faced a problem with no workaround w.r.t. loading the plugin:
```plaintext
import { wrap …
-
### Description
source
```js
import SomeWorker from './some.worker.js' // via worker-loader
import * as comlink from 'comlink'
const someWorker = comlink.wrap(new SomeWorker())
```
generate…
-
Anyone can provide an example of comlink setup with webpack 5?
Webpack 5 supports work with web-workers natively therefore I used the following syntax to import my worker
`const heavyCalc = new …
-
**Describe the bug**
I am trying to use this plugin with a SharedWorker, and hit the following error:
```
TypeError: ep.postMessage is not a function
requestResponseMessage comlink.ts:613
…
pvcnt updated
2 months ago
-
Comlink should work well here.
Needs research -- Can we distribute a `.js` worker script with a Quarto reveal.js plugin without executing it?
-
I've somehow triggered some data corruption in comlink:
![image](https://github.com/user-attachments/assets/de0b770c-8325-4d9f-850e-7645fe385e07)
-
See https://github.com/lgarron/parcel-bug-worker-node-external-modules for full details/repro.
# 🐛 bug report
Using the `comlink` library with a `node` target in Parcel 2 fails to produce workin…
-
Right now, it's not possible to import something like `comlink/node-adapter` and automatically get CJS or ESM depending on the environment.
`node` and some bundlers support:
```json
{
"expor…
-
### Preflight checklist
- [X] I have searched the [issue tracker](https://github.com/ThaUnknown/miru/issues) for a bug report that matches the one I want to file, without success.
- [X] I have search…
-
![image](https://github.com/user-attachments/assets/689ab82b-8ee1-435b-94cd-f93ca291bae7)
I hit this because I'm back to having the 1Password issue that we've discussed in IRC, so I had to send a S…