Open ajil-paul opened 2 years ago
I'm not sure if we discussed this somewhere else, but we need to change how we detect node if we want to have a chance to have fabricJS working in a web worker. First of all it needs to use the offscreencanvas, and on top of that we need to stop using window === undefined to detect node.
Yes, I have discussed the same thing in stackoverflow. I am still stuck on the issue.
this should be addressed with #7596 as well as other node detection related issues
see #8208
I am using webpack for a React.js application. I need to do a heavy work with fabric. So I tried to use web worker for that purpose. I used worker-loader plugin for running web-worker. And my woker is working fine. This is my worker file
I am getting the following error.