guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling JS in guix (typescript, babel, browserslist, webpack)


From: Ricardo Wurmus
Subject: Re: Compiling JS in guix (typescript, babel, browserslist, webpack)
Date: Mon, 31 Dec 2018 15:03:43 +0100
User-agent: mu4e 1.0; emacs 26.1

Hi swedebugia,

> I'm still trying to understand how to best tackle the JS challenge in Guix.
>
> Babel / browserslist:
> ---------------------
> Today I found this:
> https://github.com/browserslist/browserslist-example#babel
>
> It seems that JS-devs have tools like Babel to compile their JS so
> that it runs in a specific target browser.
>
> As the JS-language is evolving faster than the browsers it can do
> stuff some browsers do not support.

There is a new alternative for Babel written in Rust.  I don’t know if
it is a drop-in replacement, but this might be a good thing to
investigate.

    https://github.com/swc-project/swc

--
Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]