JavaScript Web Workers created using Blobs break when defined in the same file and using webpack

前端 未结 0 892
南旧
南旧 2020-12-04 03:59

I\'m currently using a Web Worker that is created from a Blob like this:

worker = new Worker(URL.createObjectURL(new Blob(["(" + worker_function + &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题