kqito / use-tus

React hooks for resumable file uploads using tus

Home Page:https://kqito.github.io/use-tus/?path=/story/usetus--basic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReferenceError: regeneratorRuntime is not defined

jordiyapz opened this issue · comments

The problem arise in useAutoAbort hook. After being bundled by babel, I suppose, the library throw this error.

Uncaught ReferenceError: regeneratorRuntime is not defined
    abortUploading index.esm.js:199
    useAutoAbort2 index.esm.js:226
    ....

Did you find a solution for this ? Im having the same issue on NextJS

commented

I'm sorry for the delay.This bug fixed by #40.
Thank you for your report! ;)