Closed jamsinclair closed 4 months ago
@marklundin, nope so long as you can import them and bundle the worker yourself it should be fine!
The only known issue is #37.
I've added an example at https://github.com/jamsinclair/jSquash/blob/main/examples/web-workers to show case how you can run the code from a Web Worker.
At this time I don't want to abstract the WebWorker part and leave that to the user. For several reasons:
@jamsinclair Is there anything specific that needs to be done to run this in a worker?