developit / workerize

🏗️ Run a module in a Web Worker.
https://github.com/developit/workerize-loader
4.35k stars 91 forks source link

POC - Handle when Worker is unsupported #20

Open Conrad2134 opened 6 years ago

Conrad2134 commented 6 years ago

This is to show that falling back to the main thread when Workers aren't supported works. There's a lot of TODOs because I wasn't sure the best way to go about a couple of things.

Bundles:

878 B: workerize.js
877 B: workerize.m.js
941 B: workerize.umd.js