Fix paths and extensions
This commit is contained in:
@@ -15,5 +15,5 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
export default function blurhashWorkerFactory(options?: WorkerOptions | undefined): Worker {
|
||||
return new Worker(new URL("./workers/blurhash.worker.ts", import.meta.url), options);
|
||||
return new Worker(new URL("./blurhash.worker.ts", import.meta.url), options);
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
export default function blurhashWorkerFactory(options?: WorkerOptions | undefined): Worker {
|
||||
return new Worker(new URL("../workers/indexeddb.worker.ts", import.meta.url), options);
|
||||
return new Worker(new URL("./indexeddb.worker.ts", import.meta.url), options);
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
export default function blurhashWorkerFactory(options?: WorkerOptions | undefined): Worker {
|
||||
return new Worker(new URL("../workers/playback.worker.ts", import.meta.url), options);
|
||||
return new Worker(new URL("./playback.worker.ts", import.meta.url), options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user