You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ReferenceError: regeneratorRuntime is not defined #7
When running this I'm hitting the error ReferenceError: regeneratorRuntime is not defined. I think this has to do with how the library is being built. You can work around this by configuring babel but that seems like a lot of overhead for consumers.
On Oct 30, 2019, 8:43 PM -0600, JaceHensley ***@***.***>, wrote:
My build is a webpack build using babel-loader with the preset used in CRA with Typescript enabled
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
Okay I think I see what the problem is. So I'm not using CRA but my own webpack.config.ts that is inspired by CRA but I don't have the react-app-polyfill stuff. I already have a polyfill.ts so I should be able to add the babel ones there
Activity
tannerlinsley commentedon Oct 8, 2019
I'll double check the babel implementation, but it should be including all of that in the build.
tannerlinsley commentedon Oct 31, 2019
Double checked and this should be fine as is. This is likely because you are compiling to a target that needs babel-polyfill.
dusty commentedon Oct 31, 2019
I'm having the same issue. Here is my browserlistrc. Any suggestions on how to get this working?
here is my babel config
relevant webpack section
JaceHensley commentedon Oct 31, 2019
My build is a webpack build using babel-loader with the preset used in CRA with Typescript enabled
tannerlinsley commentedon Oct 31, 2019
JaceHensley commentedon Oct 31, 2019
Unfortunately it's a closed source app, but I'll take a stab at making a reproducible test case, I'll start with the example in this repo
JaceHensley commentedon Nov 1, 2019
Okay I think I see what the problem is. So I'm not using CRA but my own webpack.config.ts that is inspired by CRA but I don't have the
react-app-polyfillstuff. I already have a polyfill.ts so I should be able to add the babel ones therevikasaditya commentedon Jan 4, 2020
This comes everytime in nextjs projects. Heres the link to sandbox https://codesandbox.io/s/nifty-saha-s2k7d . Tried in local also same result.
Merge pull request TanStack#7 from tannerlinsley/master
Merge pull request TanStack#7 from Moshyfawn/chore/partnership-typo