threads-plugin
threads-plugin copied to clipboard
📦 Makes your threads.js code build with webpack out of the box.
Hello and thank you for the great work! I'm building an app in **Typescript** with **Electron** (electron-builder) and **Vue.js** The plugin seems to be ok, as it bundles my worker...
Actually I have these configs and it does not work, so can you tell me what I'm doing wrong (of course I have `"module": "ESNext",` in my tsconfig) big thanks...
getting the warning ```bash WARNING in No instantiations of threads.js workers found. Please check that: 1. You have configured Babel / TypeScript to not transpile ES modules 2. You import...
```bash expose() called in the master thread. ``` I believe the issue is since its compiling my electron main file and the worker file all in one file it's yelling...
I'm currently writing a small plugin to allow prefetching workers written with the plugin (the principle works). During this work, I noticed that webpack `compilation.chunks` is missing the worker files....
I am trying to make it work threads-plugin with electron-webpack. I have the example here [https://github.com/theCele/electron-webpack-thread](https://github.com/theCele/electron-webpack-thread) By the way - it works great for JS, only when the files are...
Continuation of https://github.com/andywer/threads-plugin/issues/25 I'm seeing failures from webpack trying to load binary modules or `.node` files. The code i'm importing in `server.worker.ts` builds successfully with the same webpack config when...
Hi, I am getting an error when I try to use the loader in SSR.  Basically the loader is creating a...
https://github.com/jc-lab/threads-plugin-problem See the repository above. Error when using module as esnext in tsconfig. If you use commonjs instead of esnext, threads-plugin will not detect Worker. ``` > npm run build...
Hi, I've encountered something strange when using the plugin when writing typescript workers. inside an electron environment and using `electron-webpack` and `electron-builder` for bundling and building. When I run the...