Skip to content

Treat web workers correctly to use it as app or as library #3010

@Raubzeug

Description

@Raubzeug

There are serious integration issues with the library's use of web workers: (1) CORS errors happen when worker scripts are not loaded from the same origin, (2) bundlers often require special handling for separate worker files, and (3) application developers are missing a way to configure the worker script path for their deployment setups.
Need to provide an explicit option to set the worker script URL at runtime, and add documentation explaining recommended bundling and deployment strategies for using workers with this library.

Metadata

Metadata

Assignees

Labels

size/m🛠️ area/tech-debtTasks to update some code that could slow down development

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions