Andy Wermke

Results 447 comments of Andy Wermke

I suppose the error is rather related to `pkg` not being able to follow the `require()` in [src/worker.js](https://github.com/andywer/threads.js/blob/master/src/worker.js) and [src/defaults.js](https://github.com/andywer/threads.js/blob/master/src/defaults.js). Maybe you really only need to add `"pkg": { "assets":...

Sounds like a straight-forward fix then :) Mind opening a PR? I can do it, too, later.

Ahh, I think it must be `"pkg": { "scripts": ["lib/defaults*", "lib/worker.node/*"] }` (`scripts` instead of `assets`). Maybe that fixes it? The `__dirname` really shouldn't be necessary for the `../config`. (See...

Can you share your `pkg` config in `package.json` in `threads`?

Another try... 😅 Let's try adding `"lib/*.js"` to `scripts`, so the `config.js` is definitely included.

Shared our troubles in an issue in the `pkg` repo... (see reference above)

Hey @tcf909. No, it has not been considered before. Thanks for pointing out! I am curious, though: Under "Alternatives" its readme states that > though if parallelism is your only...

Thanks, @laverdet! @tcf909 I wonder if a Worker implementation using `isolated-vm` under the hood might be a good thing to implement as an external community package. We would just need...

Hey @elithrar, thanks for pointing out! This is a good point indeed. Maybe let's just drop the password context and use it as a generic hashing worker instead? I am...

Very much appreciated!