Creates the library's bundled chunk worker. Call sites that bundle with
Vite/Rollup/webpack 5 get automatic worker chunking via the
new URL(..., import.meta.url) pattern; environments without Worker
(Node, vitest) should not call this — pass a custom factory or none at all.
Creates the library's bundled chunk worker. Call sites that bundle with Vite/Rollup/webpack 5 get automatic worker chunking via the
new URL(..., import.meta.url)pattern; environments withoutWorker(Node, vitest) should not call this — pass a custom factory or none at all.