diff --git a/src/workers/blurhashWorkerFactory.ts b/src/workers/blurhashWorkerFactory.ts index cd5bfe31ff..17e3af2fba 100644 --- a/src/workers/blurhashWorkerFactory.ts +++ b/src/workers/blurhashWorkerFactory.ts @@ -15,5 +15,8 @@ limitations under the License. */ export default function factory(options?: WorkerOptions | undefined): Worker { - return new Worker(/* webpackChunkName: "blurhash.worker" */ new URL("./blurhash.worker.ts", import.meta.url), options); + return new Worker( + /* webpackChunkName: "blurhash.worker" */ new URL("./blurhash.worker.ts", import.meta.url), + options, + ); } diff --git a/src/workers/indexeddbWorkerFactory.ts b/src/workers/indexeddbWorkerFactory.ts index 1ea3df3c79..46de5cfe3c 100644 --- a/src/workers/indexeddbWorkerFactory.ts +++ b/src/workers/indexeddbWorkerFactory.ts @@ -15,5 +15,8 @@ limitations under the License. */ export default function factory(options?: WorkerOptions | undefined): Worker { - return new Worker(/* webpackChunkName: "indexeddb.worker" */ new URL("./indexeddb.worker.ts", import.meta.url), options); + return new Worker( + /* webpackChunkName: "indexeddb.worker" */ new URL("./indexeddb.worker.ts", import.meta.url), + options, + ); } diff --git a/src/workers/playbackWorkerFactory.ts b/src/workers/playbackWorkerFactory.ts index 36eaf5e180..091b426ef9 100644 --- a/src/workers/playbackWorkerFactory.ts +++ b/src/workers/playbackWorkerFactory.ts @@ -15,5 +15,8 @@ limitations under the License. */ export default function factory(options?: WorkerOptions | undefined): Worker { - return new Worker(/* webpackChunkName: "playback.worker" */ new URL("./playback.worker.ts", import.meta.url), options); + return new Worker( + /* webpackChunkName: "playback.worker" */ new URL("./playback.worker.ts", import.meta.url), + options, + ); }