Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

wrong worker js file is loaded #194

Closed
0x53A opened this issue Mar 11, 2019 · 1 comment
Closed

wrong worker js file is loaded #194

0x53A opened this issue Mar 11, 2019 · 1 comment

Comments

@0x53A
Copy link

0x53A commented Mar 11, 2019

worker-loader created two files:

576e8350095daa76e57a.worker.js

... {e.exports=function(){return new Worker(t.p+"5aed48f4f2b2d95b6440.worker.js")}}});

5aed48f4f2b2d95b6440.worker.js

self.onmessage=function(e){console.log("[WORKER-JS] Message:",e),r(e)}}});

then in main.js, where I import the worker like this: worker-loader!./../Client.Worker/client.worker.js

return new Worker(n.p+"576e8350095daa76e57a.worker.js"

So it tries to create a worker from the wrong js file.

@alexander-akait
Copy link
Member

Something wrong with the configuration, feel free to post it here and I will be help you, closing now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants