@babel/preset-env, useBuiltIns: 'usage' and regeneratorRuntime
https://babeljs.io/docs/en/babel-preset-env#usebuiltins-usage says it adds polyfills. But I assume it also adds regeneratorRuntime (which is not a polyfill)? Should that be explicit somewhere in the usage part? Since I assume usage doesn't do anything else than to add core-js Polyfills and the funciton regeneratorRuntime?
Hey @thernstig! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.
I'm confused about this same thing. Some clarification would be helpful.
I've tried this and every single fix on the internet and nothing can solve regeneratorRuntime error in late 2021, hours upon hours upon days. I hate this industry and product with every inch of my heart I hope it get deprecated and disappear from this world forever.
+1. The usage description should mention regeneratorRuntime, not just core-js.