Jason Miller
Jason Miller
This seems worthwhile! It would also be interesting to see if it could be handled automatically by `output.target=node`. I've been following Node's workers stuff and would be interested in collaborating...
Sorry for falling off this thread - I agree. I am going to try to find some time to set up tests against worker_threads so I can see what the...
@guybedford and I ended up coming up with a longer-term plan for this, which should be easy to support in Worker Plugin. In the interim, I believe the following should...
Good point, agreed! I think the shim module is probably a better way forward. Need to release it..
@DarrenCook I believe the solution is to use both. worker-plugin generates the code for the worker, and web-worker provides a Worker global that can be used by that code. You...
@stephanemagnenat TypeScript doesn't allow loader syntax in imports - I'd recommend using Webpack configuration to apply the loader instead: ```js module.exports = { module: { rules: [ { test: /\.worklet\.(js|ts)x?$/,...
@stephanemagnenat Sounds tricky. A reproduction would be super helpful as you mentioned. In the meantime, I think one way to work around this would be to configure the loader so...
@stephanemagnenat any chance this issue went away? I noticed that the original issue was filed on May 11th, which is only one day after I released a hotfix that added...
I think I know what is causing the crash, will try to reproduce so I can add a fix.
I haven't been able to reproduce the issue. If anyone has a reproduction I can look at, that would be helpful.