babel / babel/ruby-babel-transpiler

ReferenceError: regeneratorRuntime is not defined

Open
#297 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
175
Forks
28
PR merge metrics
No merged PRs in 30d

Description

when I use await/async functions, `regeneratorRuntime` is needed to run transpiled code.
How can I include runtime js into transpiled code?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reproducing async/await transpilation and tracing how the Ruby Babel bridge packages the generated JavaScript and runtime. Done means the transpiled code runs without a regeneratorRuntime ReferenceError, with coverage added in the appropriate existing test area.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript, ruby
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.