comlink-loader icon indicating copy to clipboard operation
comlink-loader copied to clipboard

Symbol and Proxy is not defined in IE11

Open jackylee941130 opened this issue 4 years ago • 1 comments

I have added import 'proxy-polyfill/proxy.min.js' import 'core-js/stable' import 'regenerator-runtime/runtime' to my worker file.

However, it does not work properly and still get two error messages in IE11: Symbol is not defined. Proxy is not defined.

Could anyone provide a working example for IE11? Thanks.

jackylee941130 avatar Apr 26 '21 02:04 jackylee941130

You need to import those polyfills in both your main thread code and your worker.

developit avatar Apr 27 '21 02:04 developit