[DRE-maint] Bug#1013218: Fwd: Re: [Pkg-javascript-devel] Bug#1013218: rails: ftbfs SyntaxError: Unexpected token 'export'
Pirate Praveen
praveen at onenetbeyond.org
Sun Jun 19 11:20:25 BST 2022
On ഞാ, ജൂൺ 19, 2022 at 15:46, Pirate Praveen
<praveen at onenetbeyond.org> wrote:
> from http://coffeescript.org/#whats-new-in-coffeescript-2
>
> What’s New In CoffeeScript 2?
>
> The biggest change in CoffeeScript 2 is that now the CoffeeScript
> compiler produces modern JavaScript syntax (ES6, or ES2015 and later).
>
> So this explains the breakage. I don't think we can stay with
> cofeescript 1.x so we have to find a way to make cofeescript 2
> produce ES5 or make execjs handle ES6 since underlying nodejs (16.x)
> can handle it natively.
http://coffeescript.org/#transpilation gives options for cofee command
line, we will have to adapt ruby-cofee-script-source to pass these
options.
More information about the Pkg-ruby-extras-maintainers
mailing list