Sorry - I'm a bit confused - am trying to use comlink with my create-react-app and not ejecting. But I think you're missing steps? I installed both comlink and worker-loader, but just using the code above in option 4 doesn't work. I modified my worker-loader import to point to my worker.js, but that is showing issues that it can't find needed modules (e.g. webpack/lib/node/NodeTargetPlugin". Can you please elaborate the specific setup steps?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry - I'm a bit confused - am trying to use comlink with my create-react-app and not ejecting. But I think you're missing steps? I installed both comlink and worker-loader, but just using the code above in option 4 doesn't work. I modified my worker-loader import to point to my worker.js, but that is showing issues that it can't find needed modules (e.g. webpack/lib/node/NodeTargetPlugin". Can you please elaborate the specific setup steps?