babel / babel/ruby-babel-transpiler

ERROR on jruby

Open
#296 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.