babel / babel/ruby-babel-transpiler
ERROR on jruby
Open
- Dominant language
- Ruby
- Stars
- 175
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Basic example is not working on jruby
IT gives following error
```
[11] pry(main)> Babel::Transpiler.transform "'red yellow blue'.split(' ')"
ExecJS::ProgramError:
from at (execjs):54362
```
Tried in ruby its working fine
Also I want to know how do i use plugin here:
eg:
`Babel::Transpiler.transform("[0, 2, 4].map(v => v + 1)", "plugins"=> [v])`
what should be v here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.