Open SensationSama opened 3 years ago
I'm also wondering about this and having the same issues. If I don't change anything it gives me the no instantiations warning.
@SensationSama Did you find a solution to the problem yet? Stuck with the same thingy right now.
Hey, I just ended up using comlink. Best of luck!
On Thu, Oct 14, 2021, 1:38 PM Swen Schäferjohann @.***> wrote:
@SensationSama https://github.com/SensationSama Did you find a solution to the problem yet? Stuck with the same thingy right now.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/andywer/threads-plugin/issues/38#issuecomment-943575380, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFNQXDRQWRBXSDMET7UPGTUG4IQBANCNFSM4YQCAV3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hey there,
I am using create-react-app configuration override and trying to get threads-plugin to load properly. I'm not exactly sure how the following code fits into my config file.
According to the doc,
"when using @babel/preset-env"
, the following should be added:The guide specifies that CRA projects do not need to add this
Although in my case
"@babel/preset-env"
is included in mycraco.config.js
; so I assume it is necessary. This is my craco webpack config:So for instance I tried loading it as the following:
but it does not compile. Perhaps I am just getting the syntax wrong?
Also I figured that according to my original stack trace in the dev tools
that the issue is a result of a failure to interpret the workers as modules (so hopefully I am on the right track).
Any clarification would be greatly appreciated 😃