Uh oh!
There was an error while loading. Please reload this page.
Add support for WebWorker with worker-loader (#3660) - #3934
Conversation
imranismail
commented
Feb 28, 2018
This looks good to be merged. I hope we can use this soon to fix janks 👍 |
veekas
commented
Mar 7, 2018
Awesome. Looking forward to this getting merged! |
Nice! Might be helpful to include notes on use-case, including limitations. As examples,
These are questions I have, at least. |
packetstracer
commented
Jun 5, 2018
Cool, the changes work in my current project perfectly @iansu, looking forward to this being merged |
| name: 'static/media/[name].[hash:8].[ext]', | ||
| }, | ||
| }, | ||
| // Process WebWorkder JS with Babel. |
dijs
commented
Aug 5, 2018
What is holding this back? Seems like a beautiful solution. |
brettimus
commented
Aug 19, 2018
If there are any loose ends (documentation, etc), I’d be happy to help! Really wanna try this out |
mariusheine
commented
Aug 30, 2018
Nice feature. It did exactly what i needed. By the way: Would be great to have something like a workerTransform to be able to test web workers in their surrounding with jest. I have not much experience with webpack, babel and jest but i build some simple dirty stuff: Maybe you could use it to get an idea of what i mean. |
haywirez
commented
Sep 17, 2018
Waiting for this also 🤞 |
barrymichaeldoyle
commented
Oct 17, 2018
Looking forward to having this PR resolved and merged 🥇 |
Use
worker-loaderto turn any file that ends with.worker.jsinto a WebWorker.Closes#3660
Here is the sample WebWorker code I used to test this: