Skip to content

ERROR on jruby #296

@jbmyid

Description

@jbmyid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions